微信小程序发布试用版本
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_common_store = require("../../common/store.js");
|
||||
const common_store = require("../../../../common/store.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
@@ -33,18 +33,18 @@ const _sfc_main = {
|
||||
},
|
||||
computed: {
|
||||
hasLogin() {
|
||||
return uni_modules_uniIdPages_common_store.store.hasLogin;
|
||||
return common_store.store.hasLogin;
|
||||
},
|
||||
userInfo() {
|
||||
return uni_modules_uniIdPages_common_store.store.userInfo;
|
||||
return common_store.store.userInfo;
|
||||
},
|
||||
avatar_file() {
|
||||
return uni_modules_uniIdPages_common_store.store.userInfo.avatar_file;
|
||||
return common_store.store.userInfo.avatar_file;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
setAvatarFile(avatar_file) {
|
||||
uni_modules_uniIdPages_common_store.mutations.updateUserInfo({ avatar_file });
|
||||
common_store.mutations.updateUserInfo({ avatar_file });
|
||||
},
|
||||
async bindchooseavatar(res) {
|
||||
let avatarUrl = res.detail.avatarUrl;
|
||||
|
||||
Reference in New Issue
Block a user