up. 新增 sweetalert2 包, 超级可爱的弹窗
This commit is contained in:
parent
847352a788
commit
4bfa97e4fd
@ -38,6 +38,7 @@
|
||||
"nprogress": "0.2.0",
|
||||
"pinia": "3.0.2",
|
||||
"sortablejs": "1.15.6",
|
||||
"sweetalert2": "^11.22.5",
|
||||
"tinymce": "^8.0.2",
|
||||
"vue": "3.5.15",
|
||||
"vue-echarts": "7.0.3",
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
import { useLocale } from '@/i18n/use-locale';
|
||||
import WebsocketState from '@/components/WebsocketState/index.vue';
|
||||
import LockScreenState from '@/components/LockScreenState/index.vue';
|
||||
|
||||
// import Swal from 'sweetalert2'
|
||||
/** 组件全局配置 */
|
||||
const { tableConfig } = useGlobalConfig();
|
||||
|
||||
@ -33,4 +33,10 @@
|
||||
/** 国际化配置 */
|
||||
const { elLocale, eleLocale } = useLocale();
|
||||
|
||||
// Swal.fire({
|
||||
// title: 'Error!',
|
||||
// text: 'Do you want to continue',
|
||||
// icon: 'error',
|
||||
// confirmButtonText: 'Cool'
|
||||
// })
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user