微信小程序发布试用版本
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("./store.js");
|
||||
const common_store = require("../../../common/store.js");
|
||||
const uni_modules_uniIdPages_config = require("../config.js");
|
||||
const mixin = {
|
||||
data() {
|
||||
@@ -74,7 +74,7 @@ const mixin = {
|
||||
},
|
||||
methods: {
|
||||
loginSuccess(e) {
|
||||
uni_modules_uniIdPages_common_store.mutations.loginSuccess({
|
||||
common_store.mutations.loginSuccess({
|
||||
...e,
|
||||
uniIdRedirectUrl: this.uniIdRedirectUrl
|
||||
});
|
||||
|
||||
@@ -1,153 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_config = require("../config.js");
|
||||
const common_config = require("../../../common/config.js");
|
||||
const db = common_vendor.tr.database();
|
||||
const usersTable = db.collection("uni-id-users");
|
||||
let hostUserInfo = common_vendor.index.getStorageSync("uni-id-pages-userInfo") || {};
|
||||
const data = {
|
||||
userInfo: hostUserInfo,
|
||||
hasLogin: Object.keys(hostUserInfo).length != 0
|
||||
};
|
||||
const mutations = {
|
||||
// data不为空,表示传递要更新的值(注意不是覆盖是合并),什么也不传时,直接查库获取更新
|
||||
async updateUserInfo(data2 = false) {
|
||||
if (data2) {
|
||||
usersTable.where("_id==$env.uid").update(data2).then((e) => {
|
||||
if (e.result.updated) {
|
||||
common_vendor.index.showToast({
|
||||
title: "更新成功",
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
this.setUserInfo(data2);
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "没有改变",
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
const _id = common_vendor.tr.getCurrentUserInfo().uid;
|
||||
this.setUserInfo({ _id }, { cover: true });
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
});
|
||||
try {
|
||||
let res = await usersTable.where("'_id' == $cloudEnv_uid").field("mobile,nickname,username,email,avatar_file").get();
|
||||
const realNameRes = await uniIdCo.getRealNameInfo();
|
||||
this.setUserInfo({
|
||||
...res.result.data[0],
|
||||
realNameAuth: realNameRes
|
||||
});
|
||||
} catch (e) {
|
||||
this.setUserInfo({}, { cover: true });
|
||||
common_vendor.index.__f__("error", "at uni_modules/uni-id-pages/common/store.js:60", e.message, e.errCode);
|
||||
}
|
||||
}
|
||||
},
|
||||
setUserInfo(data2, { cover } = { cover: false }) {
|
||||
let userInfo = cover ? data2 : Object.assign(store.userInfo, data2);
|
||||
store.userInfo = Object.assign({}, userInfo);
|
||||
store.hasLogin = Object.keys(store.userInfo).length != 0;
|
||||
common_vendor.index.setStorageSync("uni-id-pages-userInfo", store.userInfo);
|
||||
return data2;
|
||||
},
|
||||
async logout() {
|
||||
const backendUserId = common_vendor.index.getStorageSync("backend-user-id");
|
||||
if (backendUserId) {
|
||||
try {
|
||||
await common_vendor.index.request({
|
||||
url: common_config.getApiUrl("/api/sys/auth/logout"),
|
||||
method: "POST",
|
||||
header: {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
},
|
||||
data: {
|
||||
userId: backendUserId
|
||||
}
|
||||
});
|
||||
} catch (e) {
|
||||
common_vendor.index.__f__("error", "at uni_modules/uni-id-pages/common/store.js:89", "后端登出接口调用失败:", e);
|
||||
}
|
||||
}
|
||||
common_vendor.index.removeStorageSync("backend-token");
|
||||
common_vendor.index.removeStorageSync("backend-login-response");
|
||||
common_vendor.index.removeStorageSync("backend-user-id");
|
||||
common_vendor.index.removeStorageSync("backend-tenant-id");
|
||||
common_vendor.index.removeStorageSync("uni_id_token");
|
||||
common_vendor.index.setStorageSync("uni_id_token_expired", 0);
|
||||
this.setUserInfo({}, { cover: true });
|
||||
common_vendor.index.$emit("uni-id-pages-logout");
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/${common_vendor.pagesJson.uniIdRouter && common_vendor.pagesJson.uniIdRouter.loginPage ? common_vendor.pagesJson.uniIdRouter.loginPage : "uni_modules/uni-id-pages/pages/login/login-withoutpwd"}`
|
||||
});
|
||||
},
|
||||
loginBack(e = {}) {
|
||||
const { uniIdRedirectUrl = "" } = e;
|
||||
let delta = 0;
|
||||
let pages = getCurrentPages();
|
||||
pages.forEach((page, index) => {
|
||||
if (pages[pages.length - index - 1].route.split("/")[3] == "login") {
|
||||
delta++;
|
||||
}
|
||||
});
|
||||
if (uniIdRedirectUrl) {
|
||||
return common_vendor.index.redirectTo({
|
||||
url: uniIdRedirectUrl,
|
||||
fail: (err1) => {
|
||||
common_vendor.index.switchTab({
|
||||
url: uniIdRedirectUrl,
|
||||
fail: (err2) => {
|
||||
common_vendor.index.__f__("log", "at uni_modules/uni-id-pages/common/store.js:124", err1, err2);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
if (delta) {
|
||||
const page = common_vendor.pagesJson.pages[0];
|
||||
return common_vendor.index.reLaunch({
|
||||
url: `/${page.path}`
|
||||
});
|
||||
}
|
||||
common_vendor.index.navigateBack({
|
||||
delta
|
||||
});
|
||||
},
|
||||
loginSuccess(e = {}) {
|
||||
const {
|
||||
showToast = true,
|
||||
toastText = "登录成功",
|
||||
autoBack = true,
|
||||
uniIdRedirectUrl = "",
|
||||
passwordConfirmed
|
||||
} = e;
|
||||
if (showToast) {
|
||||
common_vendor.index.showToast({
|
||||
title: toastText,
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
}
|
||||
this.updateUserInfo();
|
||||
common_vendor.index.$emit("uni-id-pages-login-success");
|
||||
if (uni_modules_uniIdPages_config.config.setPasswordAfterLogin && !passwordConfirmed) {
|
||||
return common_vendor.index.redirectTo({
|
||||
url: uniIdRedirectUrl ? `/uni_modules/uni-id-pages/pages/userinfo/set-pwd/set-pwd?uniIdRedirectUrl=${uniIdRedirectUrl}&loginType=${e.loginType}` : `/uni_modules/uni-id-pages/pages/userinfo/set-pwd/set-pwd?loginType=${e.loginType}`,
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at uni_modules/uni-id-pages/common/store.js:169", err);
|
||||
}
|
||||
});
|
||||
}
|
||||
if (autoBack) {
|
||||
this.loginBack({ uniIdRedirectUrl });
|
||||
}
|
||||
}
|
||||
};
|
||||
const store = common_vendor.reactive(data);
|
||||
exports.mutations = mutations;
|
||||
exports.store = store;
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uni_modules/uni-id-pages/common/store.js.map
|
||||
@@ -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,
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_config = require("./config.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
});
|
||||
const {
|
||||
loginTypes,
|
||||
debug
|
||||
} = uni_modules_uniIdPages_config.config;
|
||||
async function uniIdPageInit() {
|
||||
if (debug) {
|
||||
const {
|
||||
supportedLoginType
|
||||
} = await uniIdCo.getSupportedLoginType();
|
||||
common_vendor.index.__f__("log", "at uni_modules/uni-id-pages/init.js:21", "supportedLoginType: " + JSON.stringify(supportedLoginType));
|
||||
const data = {
|
||||
smsCode: "mobile-code",
|
||||
univerify: "univerify",
|
||||
username: "username-password",
|
||||
weixin: "weixin",
|
||||
qq: "qq",
|
||||
xiaomi: "xiaomi",
|
||||
sinaweibo: "sinaweibo",
|
||||
taobao: "taobao",
|
||||
facebook: "facebook",
|
||||
google: "google",
|
||||
alipay: "alipay",
|
||||
apple: "apple",
|
||||
weixinMobile: "weixin"
|
||||
};
|
||||
const list = loginTypes.filter((type) => !supportedLoginType.includes(data[type]));
|
||||
if (list.length) {
|
||||
common_vendor.index.__f__(
|
||||
"error",
|
||||
"at uni_modules/uni-id-pages/init.js:41",
|
||||
`错误:前端启用的登录方式:${list.join(",")};没有在服务端完成配置。配置文件路径:"/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json"`
|
||||
);
|
||||
}
|
||||
}
|
||||
const db = common_vendor.tr.database();
|
||||
db.on("error", onDBError);
|
||||
function onDBError({
|
||||
code,
|
||||
// 错误码详见https://uniapp.dcloud.net.cn/uniCloud/clientdb?id=returnvalue
|
||||
message
|
||||
}) {
|
||||
}
|
||||
if (common_vendor.tr.onRefreshToken) {
|
||||
common_vendor.tr.onRefreshToken(() => {
|
||||
if (common_vendor.index.getPushClientId) {
|
||||
common_vendor.index.getPushClientId({
|
||||
success: async function(e) {
|
||||
const pushClientId = e.cid;
|
||||
await uniIdCo.setPushCid({
|
||||
pushClientId
|
||||
});
|
||||
},
|
||||
fail(e) {
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
exports.uniIdPageInit = uniIdPageInit;
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/uni_modules/uni-id-pages/init.js.map
|
||||
@@ -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_config = require("../../../../common/config.js");
|
||||
const _sfc_main = {
|
||||
mixins: [uni_modules_uniIdPages_common_loginPage_mixin.mixin],
|
||||
@@ -115,7 +115,7 @@ const _sfc_main = {
|
||||
common_vendor.index.__f__("warn", "at uni_modules/uni-id-pages/pages/login/login-withpwd.vue:176", "触发 tabbar 刷新事件失败:", e);
|
||||
}
|
||||
try {
|
||||
uni_modules_uniIdPages_common_store.mutations.setUserInfo({
|
||||
common_store.mutations.setUserInfo({
|
||||
username: loginData.userName,
|
||||
mobile: loginData.phone,
|
||||
email: loginData.email,
|
||||
@@ -129,13 +129,21 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
duration: 800
|
||||
});
|
||||
try {
|
||||
const app = getApp();
|
||||
if (app && app.setGlobalRoleInfo) {
|
||||
app.setGlobalRoleInfo();
|
||||
}
|
||||
} catch (e) {
|
||||
common_vendor.index.__f__("warn", "at uni_modules/uni-id-pages/pages/login/login-withpwd.vue:204", "[Login] Failed to update global role info:", e);
|
||||
}
|
||||
setTimeout(() => {
|
||||
common_vendor.index.switchTab({
|
||||
url: "/pages/reception/reception"
|
||||
url: "/pages/furniture_reception/furniture_reception"
|
||||
});
|
||||
}, 300);
|
||||
} catch (err) {
|
||||
common_vendor.index.__f__("error", "at uni_modules/uni-id-pages/pages/login/login-withpwd.vue:204", "调用登录接口失败:", err);
|
||||
common_vendor.index.__f__("error", "at uni_modules/uni-id-pages/pages/login/login-withpwd.vue:214", "调用登录接口失败:", err);
|
||||
common_vendor.index.showToast({
|
||||
title: "网络异常,登录失败",
|
||||
icon: "none",
|
||||
@@ -150,7 +158,7 @@ const _sfc_main = {
|
||||
common_vendor.index.navigateTo({
|
||||
url: this.config.isAdmin ? "/uni_modules/uni-id-pages/pages/register/register-admin" : "/uni_modules/uni-id-pages/pages/register/register",
|
||||
fail(e) {
|
||||
common_vendor.index.__f__("error", "at uni_modules/uni-id-pages/pages/login/login-withpwd.vue:220", e);
|
||||
common_vendor.index.__f__("error", "at uni_modules/uni-id-pages/pages/login/login-withpwd.vue:230", e);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_pages_register_validator = require("./validator.js");
|
||||
const uni_modules_uniIdPages_common_loginPage_mixin = require("../../common/login-page.mixin.js");
|
||||
require("../../common/store.js");
|
||||
require("../../../../common/store.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co");
|
||||
const _sfc_main = {
|
||||
mixins: [uni_modules_uniIdPages_common_loginPage_mixin.mixin],
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -145,7 +145,7 @@ if (!Math) {
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0$3,
|
||||
a: common_assets._imports_0$2,
|
||||
b: common_vendor.t($data.signInRes.days.length),
|
||||
c: common_vendor.t($data.signInRes.score),
|
||||
d: common_vendor.f($data.weekdays, (item, index, i0) => {
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
"use strict";
|
||||
function callCheckVersion() {
|
||||
return new Promise((resolve, reject) => {
|
||||
reject({
|
||||
message: "请在App中使用"
|
||||
});
|
||||
});
|
||||
}
|
||||
exports.callCheckVersion = callCheckVersion;
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uni_modules/uni-upgrade-center-app/utils/call-check-version.js.map
|
||||
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
require("../../../common/vendor.js");
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uni_modules/uni-upgrade-center-app/utils/check-update.js.map
|
||||
Reference in New Issue
Block a user