mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化版本
This commit is contained in:
parent
78c878490c
commit
e8663c2db3
@ -98,9 +98,7 @@
|
|||||||
z-index: 15995 !important;
|
z-index: 15995 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uploadImage {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.uploadImage img {
|
.uploadImage img {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|||||||
@ -684,6 +684,11 @@
|
|||||||
Vue.http.post('/callComponent/' + componentCode + "/" + componentMethod, param, options)
|
Vue.http.post('/callComponent/' + componentCode + "/" + componentMethod, param, options)
|
||||||
.then(function (res) {
|
.then(function (res) {
|
||||||
try {
|
try {
|
||||||
|
let _header = res.headers;
|
||||||
|
if(vcFramework.notNull(_header['CONTEXTPATH'])){
|
||||||
|
window.location.href = _header['CONTEXTPATH'];
|
||||||
|
return ;
|
||||||
|
};
|
||||||
successCallback(res.bodyText, res);
|
successCallback(res.bodyText, res);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
@ -715,6 +720,11 @@
|
|||||||
Vue.http.get('/callComponent/' + componentCode + "/" + componentMethod, param)
|
Vue.http.get('/callComponent/' + componentCode + "/" + componentMethod, param)
|
||||||
.then(function (res) {
|
.then(function (res) {
|
||||||
try {
|
try {
|
||||||
|
let _header = res.headers;
|
||||||
|
if(vcFramework.notNull(_header['CONTEXTPATH'])){
|
||||||
|
window.location.href = _header['CONTEXTPATH'];
|
||||||
|
return ;
|
||||||
|
};
|
||||||
successCallback(res.bodyText, res);
|
successCallback(res.bodyText, res);
|
||||||
if (vcFramework.constant.GET_CACHE_URL.includes(_getPath) && res.status == 200) {
|
if (vcFramework.constant.GET_CACHE_URL.includes(_getPath) && res.status == 200) {
|
||||||
vcFramework.saveData(_getPath, JSON.parse(res.bodyText));
|
vcFramework.saveData(_getPath, JSON.parse(res.bodyText));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user