|
@@ -56,7 +56,7 @@ getMRInfo().then(res =>{
|
|
|
if(res.data.code == '0'){
|
|
|
msg = res.data.data ||{}
|
|
|
window.msg = msg
|
|
|
- getConf().then(res =>{
|
|
|
+ return getConf().then(res =>{
|
|
|
if(res.data.code == '0'){
|
|
|
// const configArr = res.data.data.pushSetList || []
|
|
|
// getPageInfo(configArr)
|
|
@@ -183,7 +183,7 @@ function moreInfo() {
|
|
|
}
|
|
|
|
|
|
function getVersion() {
|
|
|
- post(config.getVersion, 'confArr').then((res) => {
|
|
|
+ return post(config.getVersion, 'confArr').then((res) => {
|
|
|
const data = res.data.data;
|
|
|
const ver = localStorage.getItem('versionTime');
|
|
|
const time = data.refreshTime;
|
|
@@ -196,7 +196,7 @@ function getVersion() {
|
|
|
})
|
|
|
}
|
|
|
function getDisclaimer() {
|
|
|
- post(config.disclaimer, {}).then((res) => {
|
|
|
+ return post(config.disclaimer, {}).then((res) => {
|
|
|
const data = res.data.data.find(item => item.disclaimerCode == "2");
|
|
|
$(".responsibility").html(data.description);
|
|
|
// $(".iframeWrap").css({height: $(window).height()-115-$(".responsibility").height()+"px"})
|