feature:咨询管理页面开发及接口对接 #6
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<t-dialog
|
<t-dialog
|
||||||
width="70%"
|
width="70%"
|
||||||
|
v-model:visible="visible"
|
||||||
:header="header"
|
:header="header"
|
||||||
:confirmBtn="confirmBtn"
|
:confirmBtn="confirmBtn"
|
||||||
:closeOnOverlayClick="false"
|
:closeOnOverlayClick="false"
|
||||||
@@ -45,6 +46,7 @@ const formType = computed(() => `${props.isEdit ? 'update' : 'add'}`)
|
|||||||
const confirmBtn = computed(() => (props.isEdit ? '保存' : '确定'))
|
const confirmBtn = computed(() => (props.isEdit ? '保存' : '确定'))
|
||||||
const carousalData: FormProps['data'] = ref({})
|
const carousalData: FormProps['data'] = ref({})
|
||||||
const imgUrl = ref({})
|
const imgUrl = ref({})
|
||||||
|
const visible = ref(false)
|
||||||
const rules = computed(() => {
|
const rules = computed(() => {
|
||||||
const commonRules = {
|
const commonRules = {
|
||||||
imageUrl: [
|
imageUrl: [
|
||||||
|
|||||||
Reference in new issue
Block a user