fix: bugs

This commit is contained in:
汪少伟
2025-03-19 12:08:19 +08:00
parent 401cfbe05a
commit 8ae8dba0d4
9 changed files with 85 additions and 79 deletions

View File

@@ -29,7 +29,7 @@
<div class="font-bold mb-[16px]">预警通知设置</div>
</div>
<d-form layout="vertical">
<d-form-item field="radio" label="是否开启邮件通知">
<d-form-item field="radio" label="是否开启预警通知">
<d-radio-group direction="row" v-model="radio">
<d-radio value="0">开启</d-radio>
<d-radio value="1">关闭</d-radio>
@@ -38,15 +38,15 @@
</d-form>
</d-card>
<div class="flex">
<d-button variant="solid" class="mr-[8px]">提交</d-button>
<d-button color="secondary" class="mr-[8px]">保存草稿</d-button>
<d-button variant="solid" class="mr-[8px]">保存</d-button>
<!-- <d-button color="secondary" class="mr-[8px]">保存草稿</d-button> -->
</div>
</div>
</template>
<script setup lang="ts">
import { reactive, ref, shallowRef } from 'vue';
const radio = ref('1');
const radio = ref('0');
const forms = reactive({
name: '',