feature:咨询管理页面开发及接口对接 #6

Merged
ilhamtahir merged 21 commits from feature/24-article into main 2024-11-22 11:18:26 +08:00
Showing only changes of commit fdf572d3ef - Show all commits
@@ -1,6 +1,7 @@
<template>
<t-dialog
width="70%"
v-model:visible="visible"
:header="header"
:confirmBtn="confirmBtn"
:closeOnOverlayClick="false"
@@ -45,6 +46,7 @@ const formType = computed(() => `${props.isEdit ? 'update' : 'add'}`)
const confirmBtn = computed(() => (props.isEdit ? '保存' : '确定'))
const carousalData: FormProps['data'] = ref({})
const imgUrl = ref({})
const visible = ref(false)
const rules = computed(() => {
const commonRules = {
imageUrl: [