update 资料中心修改

This commit is contained in:
赵霄
2023-11-02 18:55:26 +08:00
parent 8e1d3a9239
commit b5ea5466c6
@@ -244,7 +244,8 @@ export default {
})
},
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.disableSubmit = false
},