优化页面
This commit is contained in:
12
unpackage/dist/dev/mp-weixin/app.js
vendored
12
unpackage/dist/dev/mp-weixin/app.js
vendored
@@ -4,6 +4,9 @@ const common_vendor = require("./common/vendor.js");
|
||||
if (!Math) {
|
||||
"./pages/Home/Home.js";
|
||||
"./pages/Mine/Mine.js";
|
||||
"./pages/Mine/minecomponents/pkRecord.js";
|
||||
"./pages/Mine/minecomponents/contact.js";
|
||||
"./pages/Mine/minecomponents/pkInformation.js";
|
||||
"./pages/index/index.js";
|
||||
"./pages/login/login.js";
|
||||
"./pages/UserInformation/UserInformation.js";
|
||||
@@ -28,6 +31,15 @@ const _sfc_main = {
|
||||
};
|
||||
},
|
||||
onLoad(option) {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.info = res.data;
|
||||
counter.$patch({ myitem: this.info });
|
||||
},
|
||||
fail: () => {
|
||||
}
|
||||
});
|
||||
},
|
||||
provide() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user