mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
回显
This commit is contained in:
@@ -82,6 +82,8 @@ const params = ref({
|
|||||||
pid: '',
|
pid: '',
|
||||||
picFolderId: '',
|
picFolderId: '',
|
||||||
picPath: '',
|
picPath: '',
|
||||||
|
sort: '',
|
||||||
|
url: '',
|
||||||
displayPage: '感恩教师节'
|
displayPage: '感恩教师节'
|
||||||
})
|
})
|
||||||
const path = computed(() => `https:${process.env.VUE_APP_BOE_API_URL}/upload${params.value.picPath}`)
|
const path = computed(() => `https:${process.env.VUE_APP_BOE_API_URL}/upload${params.value.picPath}`)
|
||||||
@@ -103,6 +105,8 @@ const showModal = async () => {
|
|||||||
params.value.picFolderId = ''
|
params.value.picFolderId = ''
|
||||||
params.value.pid = ''
|
params.value.pid = ''
|
||||||
params.value.picPath = ''
|
params.value.picPath = ''
|
||||||
|
params.value.sort = ''
|
||||||
|
params.value.url = ''
|
||||||
checked.value = false
|
checked.value = false
|
||||||
visiable.value = true;
|
visiable.value = true;
|
||||||
return
|
return
|
||||||
@@ -113,6 +117,8 @@ const showModal = async () => {
|
|||||||
params.value.picPath = result.data.picPath
|
params.value.picPath = result.data.picPath
|
||||||
params.value.pid = result.data.picId
|
params.value.pid = result.data.picId
|
||||||
params.value.picFolderId = result.data.picFolderId
|
params.value.picFolderId = result.data.picFolderId
|
||||||
|
params.value.sort = result.data.sort
|
||||||
|
params.value.url = result.data.url
|
||||||
visiable.value = true;
|
visiable.value = true;
|
||||||
checked.value = true
|
checked.value = true
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user