更新依赖
This commit is contained in:
@@ -42,6 +42,7 @@ export default () => {
|
||||
musicInfo: songInfo,
|
||||
},
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/promise-function-async
|
||||
}).then(res => {
|
||||
// console.log(res)
|
||||
if (!/^https?:/.test(res.data.url)) return Promise.reject(new Error('Get url failed'))
|
||||
|
||||
@@ -95,6 +95,7 @@ export default () => {
|
||||
versionInfoPromise = handleGetVersionInfo()
|
||||
}
|
||||
} else versionInfoPromise = handleGetVersionInfo()
|
||||
// eslint-disable-next-line @typescript-eslint/promise-function-async
|
||||
void versionInfoPromise.then((result) => {
|
||||
versionInfo.reCheck = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user