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