diff --git a/frontend/.env.development b/frontend/.env.development index f2c6db3..8f13788 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -19,6 +19,6 @@ VITE_API_URL=/api # 开发环境跨域代理,支持配置多个 -VITE_PROXY=[["/api","http://192.168.1.125:18092/"]] +VITE_PROXY=[["/api","http://192.168.1.124:18092/"]] #VITE_PROXY=[["/api","http://192.168.1.125:18092/"]] # VITE_PROXY=[["/api","http://192.168.1.138:8080/"]]张文 diff --git a/frontend/src/views/machine/device/index.vue b/frontend/src/views/machine/device/index.vue index d24281e..688756e 100644 --- a/frontend/src/views/machine/device/index.vue +++ b/frontend/src/views/machine/device/index.vue @@ -73,10 +73,11 @@ const columns = reactive[]>([ { prop: 'name', label: '名称', - isShow: appSceneStore.currentScene != '1', - ...(appSceneStore.currentScene != '1' ? { - search: { el: 'input' }, - } : {}), + search: { el: 'input' }, + // isShow: appSceneStore.currentScene != '1', + // ...(appSceneStore.currentScene != '1' ? { + // search: { el: 'input' }, + // } : {}), minWidth: 200, }, { diff --git a/frontend/src/views/machine/testScript/index.vue b/frontend/src/views/machine/testScript/index.vue index a75d8f4..55d35dc 100644 --- a/frontend/src/views/machine/testScript/index.vue +++ b/frontend/src/views/machine/testScript/index.vue @@ -44,6 +44,9 @@ import ValueTypePopup from './components/valueTypePopup.vue' } from '@/api/device/testScript/index' import { computed, reactive, ref } from 'vue' import { useModeStore } from '@/stores/modules/mode'; // 引入模式 store +// defineOptions({ +// name: 'machine/testScript' +// }) const comparisonPopup = ref() const testScriptPopup = ref() const valueTypePopup = ref()