diff --git a/.env.development b/.env.development index b59befd..8849f99 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VITE_APP_TITLE = 煤科建管平台 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.110.180:8899' +VITE_APP_BASE_API = 'http://192.168.110.213:8899' # 无人机接口地址 diff --git a/src/views/design/billofQuantities/index.vue b/src/views/design/billofQuantities/index.vue index 6307880..d359bf0 100644 --- a/src/views/design/billofQuantities/index.vue +++ b/src/views/design/billofQuantities/index.vue @@ -133,6 +133,7 @@ const handleTabChange = (tab) => { state.queryForm.sheet = ''; state.queryForm.versions = ''; state.work_order_type = tab; + state.versionsData = {}; if (tab <= 2) { getVersionNums(); } else { @@ -162,6 +163,7 @@ async function getVersionNums(isSheet = true) { state.queryForm.versions = state.options[0].versions; // if (state.work_order_type == 3) { state.versionsData = state.options[0] || []; + console.log('state.versionsData', state.versionsData); // console.log('state.versionsData', state.versionsData); // } // 等待表名加载完成