优化文件上传

This commit is contained in:
不做码农 2022-01-14 16:31:09 +08:00
parent b959445ac6
commit cae7347624

View File

@ -328,6 +328,7 @@ export default {
return this.selectDictLabel(this.storeTypeOptions, row.storeType); return this.selectDictLabel(this.storeTypeOptions, row.storeType);
}, },
handleSelectStore(val) { handleSelectStore(val) {
this.queryParams.storeType = val;
if (val == 1) { if (val == 1) {
this.uploadUrl = "/common/uploadFile"; this.uploadUrl = "/common/uploadFile";
} else if (val == 2) { } else if (val == 2) {