Sfoglia il codice sorgente

Merge branch 'fix'

Karsa 6 mesi fa
parent
commit
5f46cb99db
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      src/views/predictEdb_manage/predictEdb.vue

+ 3 - 3
src/views/predictEdb_manage/predictEdb.vue

@@ -1520,9 +1520,9 @@ export default {
 	mounted() {
 		const obj=sessionStorage.getItem('predictEdbTreeData')
 		if(obj||this.$route.query.code){
-			let code=obj?JSON.parse(obj).code:this.$route.query.code
-			let id=obj?JSON.parse(obj).id:this.$route.query.id
-			let classifyId=obj?JSON.parse(obj).classifyId:this.$route.query.classifyId
+			let code=obj?this.$route.query.code:JSON.parse(obj).code
+			let id=obj?this.$route.query.id:JSON.parse(obj).id
+			let classifyId=obj?this.$route.query.classifyId:JSON.parse(obj).classifyId
 			this.getTreeData({code: code,id: Number(id),classifyId:Number(classifyId)})
 		}else{
 			this.getTreeData()