fix: 解决进度条+loading 同时出现问题
This commit is contained in:
@@ -14,7 +14,7 @@ import {
|
|||||||
import {
|
import {
|
||||||
debounce
|
debounce
|
||||||
} from '@/utils/common'
|
} from '@/utils/common'
|
||||||
import { createHotUpdate, createLoadingProgress } from '@/utils/hotUpdate'
|
import { createHotUpdate, createEventProgress } from '@/utils/hotUpdate'
|
||||||
import { gethotupdatelist } from '@/sheep/api/index/index'
|
import { gethotupdatelist } from '@/sheep/api/index/index'
|
||||||
// import { setupVConsole } from '@/utils/vconsole.js'
|
// import { setupVConsole } from '@/utils/vconsole.js'
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ export function createApp() {
|
|||||||
// setupVConsole();
|
// setupVConsole();
|
||||||
|
|
||||||
const hotUpdate = createHotUpdate({
|
const hotUpdate = createHotUpdate({
|
||||||
progress: createLoadingProgress(),
|
progress: createEventProgress(),
|
||||||
apkMode: 'download',
|
apkMode: 'download',
|
||||||
getLatest: gethotupdatelist,
|
getLatest: gethotupdatelist,
|
||||||
})
|
})
|
||||||
|
|||||||
+2
-2
@@ -2,8 +2,8 @@
|
|||||||
"name" : "优购商城",
|
"name" : "优购商城",
|
||||||
"appid" : "__UNI__8B19741",
|
"appid" : "__UNI__8B19741",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.4.5",
|
"versionName" : "1.4.6",
|
||||||
"versionCode" : 145,
|
"versionCode" : 146,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"privacy" : {
|
"privacy" : {
|
||||||
|
|||||||
Reference in New Issue
Block a user