微信小程序发布试用版本
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 {
|
||||
@@ -51,7 +51,7 @@ const _sfc_main = {
|
||||
duration: 3e3
|
||||
});
|
||||
this.getOpenerEventChannel();
|
||||
uni_modules_uniIdPages_common_store.mutations.setUserInfo(this.formData);
|
||||
common_store.mutations.setUserInfo(this.formData);
|
||||
common_vendor.index.navigateBack();
|
||||
}).catch((e) => {
|
||||
common_vendor.index.__f__("log", "at uni_modules/uni-id-pages/pages/userinfo/bind-mobile/bind-mobile.vue:84", e);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_common_loginPage_mixin = require("../../../common/login-page.mixin.js");
|
||||
const uni_modules_uniIdPages_common_store = require("../../../common/store.js");
|
||||
const common_store = require("../../../../../common/store.js");
|
||||
const common_assets = require("../../../../../common/assets.js");
|
||||
common_vendor.tr.importObject("uni-id-co");
|
||||
const tempFrvInfoKey = "uni-id-pages-temp-frv";
|
||||
@@ -20,7 +20,7 @@ const _sfc_main = {
|
||||
},
|
||||
computed: {
|
||||
userInfo() {
|
||||
return uni_modules_uniIdPages_common_store.store.userInfo;
|
||||
return common_store.store.userInfo;
|
||||
},
|
||||
certifyIdNext() {
|
||||
return Boolean(this.realName) && Boolean(this.idCard) && (this.needAgreements && this.agree);
|
||||
@@ -73,7 +73,7 @@ const _sfc_main = {
|
||||
content: "实名认证成功",
|
||||
showCancel: false,
|
||||
success: () => {
|
||||
uni_modules_uniIdPages_common_store.mutations.setUserInfo({
|
||||
common_store.mutations.setUserInfo({
|
||||
realNameAuth: rest
|
||||
});
|
||||
this.verifyFail = false;
|
||||
@@ -132,7 +132,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
} : common_vendor.e({
|
||||
d: $data.verifyFail
|
||||
}, $data.verifyFail ? common_vendor.e({
|
||||
e: common_assets._imports_0$1,
|
||||
e: common_assets._imports_0,
|
||||
f: common_vendor.t($data.verifyFailTitle),
|
||||
g: common_vendor.t($data.verifyFailContent),
|
||||
h: $data.verifyFailCode !== 10013
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_common_password = require("../../../common/password.js");
|
||||
const uni_modules_uniIdPages_common_store = require("../../../common/store.js");
|
||||
const common_store = require("../../../../../common/store.js");
|
||||
const uni_modules_uniIdPages_config = require("../../../config.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
@@ -27,7 +27,7 @@ const _sfc_main = {
|
||||
},
|
||||
computed: {
|
||||
userInfo() {
|
||||
return uni_modules_uniIdPages_common_store.store.userInfo;
|
||||
return common_store.store.userInfo;
|
||||
}
|
||||
},
|
||||
onReady() {
|
||||
@@ -60,7 +60,7 @@ const _sfc_main = {
|
||||
content: "密码设置成功",
|
||||
showCancel: false,
|
||||
success: () => {
|
||||
uni_modules_uniIdPages_common_store.mutations.loginBack({
|
||||
common_store.mutations.loginBack({
|
||||
uniIdRedirectUrl: this.uniIdRedirectUrl,
|
||||
loginType: this.loginType
|
||||
});
|
||||
@@ -83,7 +83,7 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
skip() {
|
||||
uni_modules_uniIdPages_common_store.mutations.loginBack({
|
||||
common_store.mutations.loginBack({
|
||||
uniIdRedirectUrl: this.uniIdRedirectUrl
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
"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 uniIdCo = common_vendor.tr.importObject("uni-id-co");
|
||||
const _sfc_main = {
|
||||
computed: {
|
||||
userInfo() {
|
||||
return uni_modules_uniIdPages_common_store.store.userInfo;
|
||||
return common_store.store.userInfo;
|
||||
},
|
||||
realNameStatus() {
|
||||
if (!this.userInfo.realNameAuth) {
|
||||
@@ -55,10 +55,10 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
logout() {
|
||||
uni_modules_uniIdPages_common_store.mutations.logout();
|
||||
common_store.mutations.logout();
|
||||
},
|
||||
bindMobileSuccess() {
|
||||
uni_modules_uniIdPages_common_store.mutations.updateUserInfo();
|
||||
common_store.mutations.updateUserInfo();
|
||||
},
|
||||
changePassword() {
|
||||
common_vendor.index.navigateTo({
|
||||
@@ -76,7 +76,7 @@ const _sfc_main = {
|
||||
"univerifyStyle": this.univerifyStyle,
|
||||
success: async (e) => {
|
||||
uniIdCo.bindMobileByUniverify(e.authResult).then((res) => {
|
||||
uni_modules_uniIdPages_common_store.mutations.updateUserInfo();
|
||||
common_store.mutations.updateUserInfo();
|
||||
}).catch((e2) => {
|
||||
common_vendor.index.__f__("log", "at uni_modules/uni-id-pages/pages/userinfo/userinfo.vue:142", e2);
|
||||
}).finally((e2) => {
|
||||
@@ -98,7 +98,7 @@ const _sfc_main = {
|
||||
},
|
||||
setNickname(nickname) {
|
||||
if (nickname) {
|
||||
uni_modules_uniIdPages_common_store.mutations.updateUserInfo({
|
||||
common_store.mutations.updateUserInfo({
|
||||
nickname
|
||||
});
|
||||
this.setNicknameIng = false;
|
||||
@@ -122,7 +122,7 @@ const _sfc_main = {
|
||||
}[provider.toLowerCase()];
|
||||
if (this.userInfo[bindField]) {
|
||||
await uniIdCo2["unbind" + provider]();
|
||||
await uni_modules_uniIdPages_common_store.mutations.updateUserInfo();
|
||||
await common_store.mutations.updateUserInfo();
|
||||
} else {
|
||||
common_vendor.index.login({
|
||||
provider: provider.toLowerCase(),
|
||||
@@ -137,7 +137,7 @@ const _sfc_main = {
|
||||
duration: 3e3
|
||||
});
|
||||
}
|
||||
await uni_modules_uniIdPages_common_store.mutations.updateUserInfo();
|
||||
await common_store.mutations.updateUserInfo();
|
||||
},
|
||||
fail: async (err) => {
|
||||
common_vendor.index.__f__("log", "at uni_modules/uni-id-pages/pages/userinfo/userinfo.vue:206", err);
|
||||
|
||||
Reference in New Issue
Block a user