mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
add obs checker
This commit is contained in:
@@ -20,7 +20,6 @@ interface LoginModel {
|
||||
|
||||
const message = useMessage()
|
||||
|
||||
const isRegister = ref(false)
|
||||
const isLoading = ref(false)
|
||||
|
||||
const registerModel = ref<RegisterModel>({} as RegisterModel)
|
||||
@@ -148,7 +147,7 @@ function onLoginButtonClick() {
|
||||
message.error(data.message)
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
.catch(() => {
|
||||
message.error('登陆失败')
|
||||
})
|
||||
.finally(() => {
|
||||
@@ -166,7 +165,7 @@ async function onForgetPassword() {
|
||||
message.error(data.message)
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
.catch(() => {
|
||||
message.error('发生错误')
|
||||
})
|
||||
.finally(() => {
|
||||
|
||||
@@ -3,14 +3,13 @@ import { SongFrom, SongsInfo } from '@/api/api-models'
|
||||
import { QueryGetAPI } from '@/api/query'
|
||||
import { SONG_API_URL } from '@/data/constants'
|
||||
import { NEmpty } from 'naive-ui'
|
||||
import { computed, ref, toRef, watch } from 'vue'
|
||||
import { computed, ref, watch } from 'vue'
|
||||
import APlayer from 'vue3-aplayer'
|
||||
|
||||
const props = defineProps<{
|
||||
song: SongsInfo | undefined
|
||||
isLrcLoading?: string
|
||||
}>()
|
||||
const currentSong = toRef(props, 'song')
|
||||
const emits = defineEmits(['update:isLrcLoading'])
|
||||
|
||||
const aplayerMusic = ref({
|
||||
|
||||
Reference in New Issue
Block a user