fix 修复种子
This commit is contained in:
@@ -184,7 +184,7 @@ export default {
|
||||
let flag = auth(props.auth)
|
||||
|
||||
if (flag) {
|
||||
return scopedSlots.default()
|
||||
return scopedSlots.default && scopedSlots.default()
|
||||
}
|
||||
|
||||
return false
|
||||
|
||||
@@ -163,7 +163,7 @@ export default {
|
||||
* 必要方法
|
||||
* 重新列表数据
|
||||
*/
|
||||
onReset() {
|
||||
onResetQuery() {
|
||||
/* 与普通查询页不同的是,这里的父节点参数不应该在重置后被清空 */
|
||||
Object.keys(this.query).forEach((p) => {
|
||||
if (p !== 'pid') {
|
||||
|
||||
Reference in New Issue
Block a user