前台页面

master
xy 2 years ago
parent 9d2ddb0fb6
commit 06aea61e9a

@ -108,7 +108,7 @@ export default {
tableName: "asd", tableName: "asd",
}, },
fileList: [], fileList: [],
action: process.env.VUE_APP_UPLOAD_API, action: `${process.env.VUE_APP_BASE_API}/api/person/upload-file`,
select: { select: {
year: this.$moment().format("YYYY"), year: this.$moment().format("YYYY"),
}, },
@ -265,7 +265,7 @@ export default {
} }
}, },
uploadSuccess (response, file, fileList) { uploadSuccess (response, file, fileList) {
this.form.files = fileList.map(i => i.response?.id).toString() this.fileList = fileList
}, },
async getDetail (id) { async getDetail (id) {

Loading…
Cancel
Save