parent
a2744331e5
commit
86ad954f5e
@ -0,0 +1,20 @@
|
||||
export const isCpbqhunru = {
|
||||
created() {
|
||||
console.log('标签混入');
|
||||
},
|
||||
methods: {
|
||||
isCpbqhunru() {
|
||||
console.log(123, this.$store.state.tags.myquery);
|
||||
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
|
||||
for (let i in this.form1) {
|
||||
if (this.form1[i] == "") {
|
||||
console.log("this.form1[i]",i);
|
||||
console.log("this.$store.state.tags.myquery[i]",this.$store.state.tags.myquery[i]);
|
||||
this.form1[i] = this.$store.state.tags.myquery[i] || "";
|
||||
}
|
||||
}
|
||||
this.$store.commit('ADD_QUERY', {})
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in new issue