replace ElMessage with Sonner

This commit is contained in:
pa
2026-01-07 19:16:31 +09:00
committed by Natsumi
parent f819a3f500
commit 7e4de15ef2
85 changed files with 574 additions and 1144 deletions

View File

@@ -29,7 +29,7 @@
<script setup>
import { computed, ref, watch } from 'vue';
import { Delete } from '@element-plus/icons-vue';
import { ElMessage } from 'element-plus';
import { toast } from 'vue-sonner';
import { useI18n } from 'vue-i18n';
import { worldRequest } from '../../../api';
@@ -76,10 +76,7 @@
urlList: urlList.value
})
.then((args) => {
ElMessage({
message: 'Allowed Video Player Domains updated',
type: 'success'
});
toast.success('Allowed Video Player Domains updated');
return args;
});
D.visible = false;