Commit 161c05a9 by 冷斌

设置

parent 15faf939
......@@ -199,11 +199,21 @@
onInnerTab: function (tab) {
this.innerTab = tab
console.log('b', this.innerTab, this.tab);
},
getQueryVariable: function (variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if(pair[0] == variable){return pair[1];}
}
return(false);
}
},
created: function () {
let _this = this;
console.log(_this.tab);
let status = _this.getQualifiedItem('status');
console.log(status);
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment