Jelajahi Sumber

Merge branch 'fix'

Karsa 6 bulan lalu
induk
melakukan
5f46cb99db
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  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()