refactor: save

This commit is contained in:
zyronon 2024-04-06 02:50:15 +08:00
parent c11a5c30d4
commit befaea1b5a
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
"build": "vite build --mode prod",
"build-uni-app": "vite build --mode uni",
"build-only": "vite build",
"buildp-check": "run-p type-check \"build-only {@}\" --",
"build-check": "run-p type-check \"build-only {@}\" --",
"type-check": "vue-tsc --build --force",
"report": "vite build",
"preview": "vite preview",

View File

@ -543,7 +543,7 @@ function togglePlay(item, list) {
data.audio.play()
data.audio.addEventListener('ended', () => (item.is_play = false))
} else {
data.stopPlay()
stopPlay()
}
}

View File

@ -121,7 +121,7 @@ const data = reactive({
})
const sex = computed(() => {
switch (store.userinfo.gender) {
switch (Number(store.userinfo.gender)) {
case 1:
return '男'
case 2: