lint code

This commit is contained in:
lyswhut
2023-08-27 15:09:07 +08:00
parent 0d76c9ccb4
commit 71b84fb10d
69 changed files with 346 additions and 413 deletions
+4 -4
View File
@@ -148,16 +148,16 @@ export default {
url = await musicSdk[source].songList.getDetailPageUrl(sourceListId)
}
if (!url) return
openUrl(url)
void openUrl(url)
}
const handleRemove = (listInfo) => {
dialog.confirm({
void dialog.confirm({
message: t('lists__remove_tip', { name: listInfo.name }),
confirmButtonText: t('lists__remove_tip_button'),
}).then(isRemove => {
if (!isRemove) return
removeUserList([listInfo.id])
void removeUserList([listInfo.id])
if (props.listId == listInfo.id) {
handleListToggle(LIST_IDS.DEFAULT)
}
@@ -212,7 +212,7 @@ export default {
watch(() => userLists, (lists) => {
if (lists.some(l => l.id == props.listId)) return
router.replace({
void router.replace({
path: '/list',
query: {
id: defaultList.id,