diff --git a/manifest.json b/manifest.json
index 389d101..a4338e6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "养殖溯源",
"appid" : "__UNI__C509A32",
"description" : "",
- "versionName" : "1.0.3",
- "versionCode" : 103,
+ "versionName" : "1.0.4",
+ "versionCode" : 104,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
diff --git a/pages/husbandryForm/detail.vue b/pages/husbandryForm/detail.vue
index 3dd20bd..f91cac7 100644
--- a/pages/husbandryForm/detail.vue
+++ b/pages/husbandryForm/detail.vue
@@ -221,7 +221,9 @@
if (res.code == 1) {
- datalist.splice(0, datalist.length, ...res.data)
+ res.data.forEach(item=>{
+ datalist.push(item)
+ })
res.data.detai
// console.log(res.data)
}
diff --git a/pages/landDetail/index.vue b/pages/landDetail/index.vue
index af43266..988e48e 100644
--- a/pages/landDetail/index.vue
+++ b/pages/landDetail/index.vue
@@ -213,10 +213,10 @@
}).then((res) => {
if (res.code == 1) {
- dataList.splice(0, dataList.length, ...res.data);
- dataList.forEach(item => {
- item.showCode = false
- })
+ res.data.forEach(item=>{
+ item.showCode = false
+ dataList.push(item)
+ })
console.log(dataList)
}
});
diff --git a/pages/plantAdmin/houseDetail.vue b/pages/plantAdmin/houseDetail.vue
index 0f576f6..d448a33 100644
--- a/pages/plantAdmin/houseDetail.vue
+++ b/pages/plantAdmin/houseDetail.vue
@@ -298,7 +298,9 @@
item.pic = JSON.parse(item.pic||'[]');
return item
})
- dataList.splice(0, dataList.length, ...res.data.lists);
+ res.data.lists.forEach(item=>{
+ dataList.push(item)
+ })
// console.log(dataList)
}
});
diff --git a/pages/plantAdmin/moreBreed.vue b/pages/plantAdmin/moreBreed.vue
index 69994b5..cb83495 100644
--- a/pages/plantAdmin/moreBreed.vue
+++ b/pages/plantAdmin/moreBreed.vue
@@ -8,10 +8,13 @@
-
+
-
-
+
+
{{item.sn}}
品类:
@@ -47,7 +50,7 @@
-
+
{{options.code.split('d_')[1]}}
@@ -60,7 +63,6 @@