价格显示问题

This commit is contained in:
liuyuan
2025-04-18 17:56:33 +08:00
parent 648a993d14
commit 380ed58d17
179 changed files with 17322 additions and 2750 deletions

View File

@@ -2,13 +2,13 @@ export default function() {
// #ifdef APP-PLUS
return new Promise((resolve, reject) => {
plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
const data = {
console.log('哈哈哈哈', widgetInfo)
let data = {
action: 'checkVersion',
appid: plus.runtime.appid,
appVersion: plus.runtime.version,
wgtVersion: widgetInfo.version
}
console.log("获取当前版本信息data: ",data);
uniCloud.callFunction({
name: 'uni-upgrade-center',
data,
@@ -30,4 +30,4 @@ export default function() {
})
})
// #endif
}
}

View File

@@ -7,6 +7,7 @@ export default function() {
// #ifdef APP-PLUS
return new Promise((resolve, reject) => {
callCheckVersion().then(async (e) => {
console.log('hhhhhhhhhhhh', e)
if (!e.result) return;
const {
code,
@@ -64,7 +65,7 @@ export default function() {
uni.removeStorageSync(PACKAGE_INFO_KEY)
}
})
return
} else if (code < 0) {
// TODO 云函数报错处理
@@ -155,4 +156,4 @@ function updateUseModal(packageInfo) {
});
}
});
}
}