|
@@ -127,15 +127,18 @@
|
|
|
categoryList: []
|
|
|
}
|
|
|
},
|
|
|
+ onLoad(param) {
|
|
|
+ this.projectId = param.projectId;
|
|
|
+ },
|
|
|
mounted() {
|
|
|
this.color1 = app.globalData.color1;
|
|
|
this.color2 = app.globalData.color2;
|
|
|
this.color3 = app.globalData.color3;
|
|
|
this.color6 = app.globalData.color6;
|
|
|
- this.projectId = uni.getStorageSync('projectId')
|
|
|
- if (this.projectId) {
|
|
|
+ this.detailDatahandle()
|
|
|
+ uni.$on("request",()=>{
|
|
|
this.detailDatahandle()
|
|
|
- }
|
|
|
+ })
|
|
|
},
|
|
|
methods: {
|
|
|
async detailDatahandle() {
|