修改文件查看只有冀北可行
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="文件">
|
||||
<div v-for="(item, index) in aList">
|
||||
<el-icon class="elView" v-if="item?.fileName">
|
||||
<el-icon class="elView" v-if="item?.fileName && VITE_FLAG">
|
||||
<View @click="openFile(item?.fileName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(item.keyName)">
|
||||
@@ -77,7 +77,7 @@ const detailData: any = ref({}) // 详情数据
|
||||
const levelList = dictData.getBasicData('Dev_Voltage_Stand')
|
||||
const aList: any = ref([]) // 详情数据
|
||||
const queryId = query.id // 从 URL 传递过来的 id 编号
|
||||
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
/** 获得数据 */
|
||||
const getInfo = async () => {
|
||||
detailLoading.value = true
|
||||
|
||||
Reference in New Issue
Block a user