diff --git a/src/views/enterpriseStandardLibrary/standard/modules/CheckContentModal.vue b/src/views/enterpriseStandardLibrary/standard/modules/CheckContentModal.vue index ff3543cf..18a2bfe5 100644 --- a/src/views/enterpriseStandardLibrary/standard/modules/CheckContentModal.vue +++ b/src/views/enterpriseStandardLibrary/standard/modules/CheckContentModal.vue @@ -11,8 +11,10 @@
- - + + + +
@@ -56,6 +58,7 @@ export default { title: '', visible: false, confirmLoading: false, + leftLoading: false, form: this.$form.createForm(this), model: {}, labelCol: { @@ -86,15 +89,21 @@ export default { }, methods: { add (fileId) { + this.leftLoading = true this.getFileInfo(fileId).then(res => { this.handlePreview(res) + }).finally(() => { + this.leftLoading = false }) this.visible = true this.form.resetFields() }, edit (fileId, record, index) { + this.leftLoading = true this.getFileInfo(fileId).then(res => { this.handlePreview(res) + }).finally(() => { + this.leftLoading = false }) this.visible = true this.index = index