发布 0.1.0:通知渠道、告警规则与多项体验修复
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { useMessage } from 'naive-ui'
|
||||
import { computed, ref } from 'vue'
|
||||
import { useToast } from '@/composables/useToast'
|
||||
|
||||
/** 拖拽或点击上传的文本文件选择区;文件内容仅在浏览器本地读取。
|
||||
* compact:单行紧凑形态,用于表单内与其他字段并排。 */
|
||||
const props = defineProps<{ accept?: string; label?: string; hint?: string; compact?: boolean }>()
|
||||
const emit = defineEmits<{ load: [text: string, name: string] }>()
|
||||
|
||||
const message = useMessage()
|
||||
const message = useToast()
|
||||
const inputEl = ref<HTMLInputElement>()
|
||||
const fileName = ref('')
|
||||
const dragging = ref(false)
|
||||
|
||||
Reference in New Issue
Block a user