feat: ✨ 上传文件时校验是否模板文件,否则提示 #96
This commit is contained in:
@@ -5,8 +5,10 @@ import { useI18n } from 'vue-i18n'
|
||||
import CustomModal from '@/components/Dialog/index.vue'
|
||||
import { Loading } from '@/components/Loading'
|
||||
import ToTop from '@/components/ToTop/index.vue'
|
||||
import { Toaster } from '@/components/ui/sonner'
|
||||
import RightButton from './RightButton/index.vue'
|
||||
import { useMounted } from './useMounted'
|
||||
import 'vue-sonner/style.css'
|
||||
|
||||
const tipDialog = ref()
|
||||
const { tipDesc } = useMounted(tipDialog)
|
||||
@@ -29,6 +31,7 @@ function scrollToTop() {
|
||||
<main ref="mainContainer" class="box-content w-screen h-screen overflow-x-hidden overflow-y-auto main-container">
|
||||
<router-view class="h-full main-container-content" />
|
||||
</main>
|
||||
<Toaster />
|
||||
<RightButton class="absolute right-0 bottom-1/2" />
|
||||
<CustomModal ref="tipDialog" :title="t('dialog.titleTip')" :desc="tipDesc" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user