update 资料中心

This commit is contained in:
赵霄
2023-10-31 16:36:56 +08:00
parent 9990cefc91
commit 55d10c8899
2 changed files with 7 additions and 1 deletions
@@ -243,6 +243,11 @@ export default {
this.treeLoading = false this.treeLoading = false
}) })
}, },
handleAdd: function () {
this.$refs.modalForm.add({folderId: this.selectedTreeKeys.join(',')})
this.$refs.modalForm.title = this.$t('newlyAdded')
this.$refs.modalForm.disableSubmit = false
},
/** /**
* 树节点查询 * 树节点查询
*/ */
@@ -101,7 +101,8 @@ export default {
} }
}, },
methods: { methods: {
add () { add (params) {
this.modal = params
this.visible = true this.visible = true
}, },
edit (record) { edit (record) {