更新
This commit is contained in:
parent
33857ccc3d
commit
6b9b26d2e3
@ -562,8 +562,12 @@ const emit = defineEmits(['success', 'close'])
|
|||||||
const formRef = shallowRef<FormInstance>()
|
const formRef = shallowRef<FormInstance>()
|
||||||
const popupRef = shallowRef<InstanceType<typeof Popup>>()
|
const popupRef = shallowRef<InstanceType<typeof Popup>>()
|
||||||
const mode = ref()
|
const mode = ref()
|
||||||
isDisabled = route.query.read
|
if (route.query.read) {
|
||||||
isEdit = route.query.edit
|
isDisabled = route.query.read
|
||||||
|
}
|
||||||
|
if (route.query.edit) {
|
||||||
|
isEdit = route.query.edit
|
||||||
|
}
|
||||||
// 表单数据
|
// 表单数据
|
||||||
const formData = reactive({
|
const formData = reactive({
|
||||||
admin_id: '',
|
admin_id: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user