微信小程序发布试用版本
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;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_config = require("../../config.js");
|
||||
const uni_modules_uniIdPages_common_store = require("../../common/store.js");
|
||||
const common_store = require("../../../../common/store.js");
|
||||
const _sfc_main = {
|
||||
computed: {
|
||||
agreements() {
|
||||
@@ -309,7 +309,7 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
uni_modules_uniIdPages_common_store.mutations.loginSuccess(result);
|
||||
common_store.mutations.loginSuccess(result);
|
||||
}).catch((e) => {
|
||||
common_vendor.index.showModal({
|
||||
content: e.message,
|
||||
|
||||
Reference in New Issue
Block a user