发布 0.1.0:通知渠道、告警规则与多项体验修复
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
import { NCheckbox, NSelect, useMessage } from 'naive-ui'
|
||||
import { NCheckbox, NSelect } from 'naive-ui'
|
||||
import { computed, ref, watch } from 'vue'
|
||||
|
||||
import { listRegions, subscribeRegion } from '@/api/configs'
|
||||
import FormField from '@/components/FormField.vue'
|
||||
import FormModal from '@/components/FormModal.vue'
|
||||
import { useAsync } from '@/composables/useAsync'
|
||||
import { useToast } from '@/composables/useToast'
|
||||
|
||||
const props = defineProps<{
|
||||
show: boolean
|
||||
@@ -16,7 +17,7 @@ const props = defineProps<{
|
||||
}>()
|
||||
const emit = defineEmits<{ 'update:show': [boolean]; subscribed: [] }>()
|
||||
|
||||
const message = useMessage()
|
||||
const message = useToast()
|
||||
const submitting = ref(false)
|
||||
const regionKey = ref<string | null>(null)
|
||||
const acknowledged = ref(false)
|
||||
|
||||
Reference in New Issue
Block a user