提交 904d9329 编写于 作者: lijinyang's avatar lijinyang

文件上传,图片上传本地文件更新

上级 b59390a4
......@@ -313,15 +313,16 @@ export default class AppFileUpload extends Vue {
let param:any = this.viewparams;
let context:any = this.context;
let _data:any = JSON.parse(this.data);
if (this.uploadparams && !Object.is(this.uploadparams, '')) {
uploadparams = this.uploadparams;
upload_params = this.$util.computedNavData(this.data,param,context,uploadparams);
upload_params = this.$util.computedNavData(_data,param,context,uploadparams);
}
if (this.exportparams && !Object.is(this.exportparams, '')) {
exportparams = this.exportparams;
export_params = this.$util.computedNavData(this.data,param,context,exportparams);
export_params = this.$util.computedNavData(_data,param,context,exportparams);
}
for (const item in upload_params) {
......
......@@ -318,14 +318,14 @@ export default class AppImageUpload extends Vue {
let param:any = this.viewparams;
let context:any = this.context;
let _data:any = JSON.parse(this.data);
if (this.uploadparams && !Object.is(this.uploadparams, '')) {
uploadparams = this.uploadparams;
upload_params = this.$util.computedNavData(this.data,param,context,uploadparams);
upload_params = this.$util.computedNavData(_data,param,context,uploadparams);
}
if (this.exportparams && !Object.is(this.exportparams, '')) {
exportparams = this.exportparams;
export_params = this.$util.computedNavData(this.data,param,context,exportparams);
export_params = this.$util.computedNavData(_data,param,context,exportparams);
}
for (const item in upload_params) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册