优化页面
This commit is contained in:
@@ -31,6 +31,11 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
},
|
||||
// 输入昵称
|
||||
inputName(e) {
|
||||
this.name = e.detail.value;
|
||||
@@ -52,7 +57,7 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
this.userinfo = res;
|
||||
}).catch((err) => {
|
||||
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:71", err);
|
||||
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:77", err);
|
||||
});
|
||||
if (this.userinfo) {
|
||||
const res = await components_request.request({
|
||||
@@ -91,7 +96,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
a: $data.userinfo,
|
||||
b: common_vendor.o$1((...args) => $options.Userinfo && $options.Userinfo(...args)),
|
||||
c: common_vendor.o$1((...args) => $options.inputName && $options.inputName(...args)),
|
||||
d: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args))
|
||||
d: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args)),
|
||||
e: common_vendor.o$1((...args) => $options.cancel && $options.cancel(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3c55a289"]]);
|
||||
|
||||
Reference in New Issue
Block a user