提交 8d908956 authored 作者: 何宗全's avatar 何宗全

20260402打包版本

上级 51fecdec
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
"name" : "杭州内网机房巡检", "name" : "杭州内网机房巡检",
"appid" : "__UNI__A11BFD5", "appid" : "__UNI__A11BFD5",
"description" : "", "description" : "",
"versionName" : "1.0.6", "versionName" : "1.1.4",
"versionCode" : 106, "versionCode" : 114,
"transformPx" : false, "transformPx" : false,
/* 5+App特有相关 */ /* 5+App特有相关 */
"app-plus" : { "app-plus" : {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!-- 机房巡检操作 --> <!-- 机房巡检操作 -->
<view> <view>
<template v-for="(item, index) in itemData.detail"> <template v-for="(item, index) in itemData.detail">
<view :key="index" v-if="item.label != '配电箱外观'"> <view :key="index">
<view class="form-item"> <view class="form-item">
<text class="form-label"> <text class="form-label">
<text class="required">*</text>{{ item.label }} <text class="required">*</text>{{ item.label }}
...@@ -112,6 +112,11 @@ export default { ...@@ -112,6 +112,11 @@ export default {
defaultData(newVal) { defaultData(newVal) {
// 在这里处理数据变化 // 在这里处理数据变化
if (Object.keys(this.defaultData).length !== 0) { if (Object.keys(this.defaultData).length !== 0) {
if(this.defaultData.detail){
this.defaultData.detail = this.defaultData.detail.filter(
(item) => item.label !== "配电箱外观",
);
}
this.itemData = this.defaultData; this.itemData = this.defaultData;
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论