|
@@ -1477,9 +1477,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()
|