import { createNotificationProgress, cancelNotificationProgress, finishNotificationProgress } from '@/uni_modules/uts-progressNotification'
import { type CreateNotificationProgressOptions, type FinishNotificationProgressOptions } from '@/uni_modules/uts-progressNotification/utssdk/interface.uts'
import { UniUpgradeCenterResult, StoreListItem } from '../../utils/call-check-version'
import { openSchema } from '../../utils/utils.uts'
...
...
@@ -168,7 +170,7 @@
},
beforeUnmount() {
if (this.needNotificationProgress) {
uni.cancelNotificationProgress()
cancelNotificationProgress()
}
},
methods: {
...
...
@@ -240,7 +242,7 @@
this.installed = false
this.showTabbar = false
if (this.needNotificationProgress) uni.cancelNotificationProgress()
if (this.needNotificationProgress) cancelNotificationProgress()
if (!notificationAbortDownload) this.$emit('close')