Commit dc270954 by 程默

fix

parent a18d3522
...@@ -40,6 +40,12 @@ export default { ...@@ -40,6 +40,12 @@ export default {
onLoad(options) { onLoad(options) {
Object.assign(this.$data, this.$options.data()); Object.assign(this.$data, this.$options.data());
this.options = options; this.options = options;
if(options.sessionid){
wx.setStorageSync({
key: "sessionid",
data: options.sessionid
});
}
console.log("onload"); console.log("onload");
this.init(); this.init();
}, },
......
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