上传http与https的处理,优化Aajx的超时时间

This commit is contained in:
daihh
2023-03-28 16:10:15 +08:00
parent e34c9873bd
commit 7b72e42798
8 changed files with 40 additions and 145 deletions

View File

@@ -111,6 +111,11 @@ export default {
}
};
},
mounted() {
//计算是http还是https
let urlPre=window.location.protocol;
this.uploadFileUrl=urlPre+this.uploadFileUrl.substring(this.uploadFileUrl.indexOf(':')+1);
},
computed: {
// 是否显示提示
showTip() {