mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
上传http与https的处理,优化Aajx的超时时间
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user