|
@@ -225,8 +225,8 @@ export default {
|
|
|
},
|
|
|
getEqNameAndId () {
|
|
|
let hostUrl = location.search
|
|
|
- this.objectId = hostUrl.split("&")[1].toString().split("=")[1]
|
|
|
- let pid = hostUrl.split("&")[0].toString().split("=")[1]
|
|
|
+ this.objectId = hostUrl.split("&")[0].toString().split("=")[1]
|
|
|
+ let pid = hostUrl.split("&")[1].toString().split("=")[1]
|
|
|
console.log(pid, this.$store.state.projId)
|
|
|
this.$store.commit('setProId', pid)
|
|
|
this.initData(this.objectId)
|