Commit 3f0b9475 by 冷斌

设置

parent 25f274a6
......@@ -200,6 +200,11 @@
this.innerTab = tab
console.log('b', this.innerTab, this.tab);
},
getList: function () {
let options = this.options[this.tab];
let item = options['options'][this.innerTab];
console.log(options, item);
},
getQueryVariable: function (variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
......@@ -208,12 +213,12 @@
if(pair[0] == variable){return pair[1];}
}
return 0;
}
},
},
created: function () {
let _this = this;
let status = _this.getQueryVariable('status');
console.log(status);
this.tab = this.getQueryVariable('status');
this.innerTab = 0;
this.getList();
}
})
......
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