diff --git a/admin/src/views/land/edit.vue b/admin/src/views/land/edit.vue index 58c5d59e..5246023c 100644 --- a/admin/src/views/land/edit.vue +++ b/admin/src/views/land/edit.vue @@ -83,6 +83,9 @@ + + + @@ -134,6 +137,7 @@ const formData = reactive({ latitude: '', master_name: '', master_phone: '', + pic: '' }) // 表单验证 @@ -167,10 +171,11 @@ const setFormData = async (data: Record) => { if (data[key] != null && data[key] != undefined) { //@ts-ignore formData[key] = data[key] + if (key == 'pic') { + formData[key] = '' + } } } - - } const getDetail = async (row: Record) => { diff --git a/admin/src/views/land/index.vue b/admin/src/views/land/index.vue index b1743d98..06b0cfca 100644 --- a/admin/src/views/land/index.vue +++ b/admin/src/views/land/index.vue @@ -45,16 +45,20 @@ - + + + - +