From f19726e1bd7695e8e30e2597db57dc31aa7eba5b Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Thu, 6 Aug 2020 15:27:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90PC=E7=AB=AF=E3=80=91=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=AE=89=E5=85=A8-=E5=BE=85=E5=AE=A1=E6=A0=B8=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=AE=A1=E6=A0=B8=E6=8C=89=E9=92=AE=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=98=B2=E7=82=B9=E5=87=BB-=E7=8E=8B=E5=85=AC=E5=B3=B0-2020-08?= =?UTF-8?q?-06?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/contentSecurity/checkrecords-handle.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/modules/contentSecurity/checkrecords-handle.vue b/src/views/modules/contentSecurity/checkrecords-handle.vue index df9653f6..4d06dd47 100644 --- a/src/views/modules/contentSecurity/checkrecords-handle.vue +++ b/src/views/modules/contentSecurity/checkrecords-handle.vue @@ -18,7 +18,7 @@ @@ -33,7 +33,8 @@ export default { id: '', result: '', suggestion: '' - } + }, + isAble: false } }, computed: { @@ -51,6 +52,7 @@ export default { methods: { init () { this.visible = true + this.isAble = false this.$nextTick(() => { this.$refs['dataForm'].resetFields() }) @@ -61,8 +63,10 @@ export default { if (!valid) { return false } + this.isAble = true this.$http['post']('/contentSecurity/handleResult/handleRecords', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { + this.isAble = false return this.$message.error(res.msg) } this.$message({