From 7c301f3f465ce6f66f4acce1baa7250934375866 Mon Sep 17 00:00:00 2001 From: Rui_Li <877258667@qq.com> Date: Wed, 5 Mar 2025 16:01:29 +0800 Subject: [PATCH] =?UTF-8?q?BUG=20=E4=BF=AE=E5=B0=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/tooling/components/com_tool_info_add_update.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/tooling/components/com_tool_info_add_update.vue b/src/views/modules/tooling/components/com_tool_info_add_update.vue index bc0cff0..962d6fc 100644 --- a/src/views/modules/tooling/components/com_tool_info_add_update.vue +++ b/src/views/modules/tooling/components/com_tool_info_add_update.vue @@ -327,7 +327,7 @@ export default { this.visible = true; //判断是否是新增 if(addFlag){ - this.pageData.site = ''; + this.pageData.site = this.$store.state.user.site; this.titleCon = '工具新增'; this.pageData.toolId = ''; this.pageData.toolType = ''; @@ -345,7 +345,7 @@ export default { this.pageData.noteText = ''; this.searchFlag = false; //新增结束调用获取默认的方法 - //this.changeToolPrefix(); + this.changeToolPrefix(); }else{ this.titleCon = '工具修改'; this.pageData = JSON.parse(JSON.stringify(toolInfo));