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")