This commit is contained in:
2025-02-07 14:24:18 +08:00
parent d05e291350
commit dd198af72d
3 changed files with 273 additions and 274 deletions

View File

@@ -6,14 +6,12 @@
"request": 15000 "request": 15000
}, },
"transformPx": false, "transformPx": false,
"icons" : [ "icons": [{
{
"sizes": "分辨率192x192", "sizes": "分辨率192x192",
"src": "图片路径" "src": "图片路径"
} }],
], "versionName": "1.0.47",
"versionName" : "1.0.46", "versionCode": 1047,
"versionCode" : 1046,
"app-plus": { "app-plus": {
"nvueCompiler": "uni-app", "nvueCompiler": "uni-app",
"compatible": { "compatible": {
@@ -270,4 +268,3 @@
} }
} }
// //

View File

@@ -2,6 +2,7 @@ export default function() {
// #ifdef APP-PLUS // #ifdef APP-PLUS
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) { plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
console.log('哈哈哈哈', widgetInfo)
let data = { let data = {
action: 'checkVersion', action: 'checkVersion',
appid: plus.runtime.appid, appid: plus.runtime.appid,

View File

@@ -7,6 +7,7 @@ export default function() {
// #ifdef APP-PLUS // #ifdef APP-PLUS
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
callCheckVersion().then(async (e) => { callCheckVersion().then(async (e) => {
console.log('hhhhhhhhhhhh', e)
if (!e.result) return; if (!e.result) return;
const { const {
code, code,