From 8df34e50facf1db9b6d57fe349bff646e923562c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 20 Jul 2023 10:59:31 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=20=E7=BC=96=E8=BE=91=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E5=88=97=E8=A1=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm | 2 -- .../ruoyi-generator/src/main/resources/vm/vue/index.vue.vm | 2 -- 2 files changed, 4 deletions(-) diff --git a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm index ac55c0c7..9c57e2c0 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm +++ b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm @@ -450,7 +450,6 @@ const toggleExpandAll = (data: ${BusinessName}VO[], status: boolean) => { /** 修改按钮操作 */ const handleUpdate = (row: ${BusinessName}VO) => { - loading.value = true; dialog.visible = true; dialog.title = "修改${functionName}"; nextTick(async () => { @@ -460,7 +459,6 @@ const handleUpdate = (row: ${BusinessName}VO) => { form.value.${treeParentCode} = row.${treeCode}; } const res = await get${BusinessName}(row.${treeCode}); - loading.value = false; Object.assign(form.value, res.data); #foreach ($column in $columns) #if($column.htmlType == "checkbox") diff --git a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm index 5af71182..23715ec0 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm +++ b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm @@ -413,14 +413,12 @@ const handleAdd = () => { /** 修改按钮操作 */ const handleUpdate = (row?: ${BusinessName}VO) => { - loading.value = true dialog.visible = true; dialog.title = "修改${functionName}"; nextTick(async () => { reset(); const _${pkColumn.javaField} = row?.${pkColumn.javaField} || ids.value[0] const res = await get${BusinessName}(_${pkColumn.javaField}); - loading.value = false; Object.assign(form.value, res.data); #foreach ($column in $columns) #if($column.htmlType == "checkbox")