From ebc552900444d25b1158bf53d07f24c9ee36cc75 Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期一, 20 一月 2025 14:40:57 +0800 Subject: [PATCH] 预警配置 --- src/views/model/mpk/file/MpkForm.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/views/model/mpk/file/MpkForm.vue b/src/views/model/mpk/file/MpkForm.vue index 6466eaf..da3c881 100644 --- a/src/views/model/mpk/file/MpkForm.vue +++ b/src/views/model/mpk/file/MpkForm.vue @@ -116,7 +116,7 @@ float: right; color: var(--el-text-color-secondary); font-size: 13px;"> - <img :src="'/SimtreeUnitImage/' + item.iconName" style="height: 24px;" :alt=" item.iconDesc" /> + <img :src="staticDir + 'SimtreeUnitImage/' + item.iconName" style="height: 24px;" :alt=" item.iconDesc" /> </span> </el-option> </el-select> @@ -210,6 +210,7 @@ @click="updateSetting(scope.row)" key="danger" type="primary" + :disabled="scope.row.settingKey === 'pyFile'" link >修改 </el-button> @@ -217,6 +218,7 @@ @click="deleteSetting(props.row.methodSettings,scope.$index)" key="danger" type="danger" + :disabled="scope.row.settingKey === 'pyFile'" link >删除 </el-button> @@ -268,6 +270,8 @@ const route = useRoute() // 路由 const router = useRouter(); + const staticDir = ref(import.meta.env.VITE_STATIC_DIR) + const treeData = ref([]) const iconList = ref([] as MpkIconApi.MpkIconVO) const pkgNameList = ref([] as MpkPackApi.MpkPackVO) -- Gitblit v1.9.3