Explorar o código

修改projectId

zhaojijng %!s(int64=3) %!d(string=hai) anos
pai
achega
c5554b00f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/detail/index.js

+ 1 - 1
pages/detail/index.js

@@ -76,7 +76,7 @@ Page({
   },
   async getChartDate(){
     let data={
-      projectId:this.data.projectId,
+      projectId:$.store.get('projectId')||$.storage.get('projectId'),
       spaceId:this.data.spaceId,
       funcid:this.data.funcid
     }