update 资料中心修改
This commit is contained in:
@@ -244,7 +244,8 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleAdd: function () {
|
handleAdd: function () {
|
||||||
this.$refs.modalForm.add({folderId: this.selectedTreeKeys.join(',')})
|
const folderId = this.selectedTreeKeys && this.selectedTreeKeys.length > 0 ? this.selectedTreeKeys.join(',') : null
|
||||||
|
this.$refs.modalForm.add({ folderId })
|
||||||
this.$refs.modalForm.title = this.$t('newlyAdded')
|
this.$refs.modalForm.title = this.$t('newlyAdded')
|
||||||
this.$refs.modalForm.disableSubmit = false
|
this.$refs.modalForm.disableSubmit = false
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user