鍍金池/ 問答/HTML5  HTML/ vue-cli火狐瀏覽器兼容問題

vue-cli火狐瀏覽器兼容問題

getAccount() {

            ajax.get(PAYAPI + 'accountController/getLoginUser?token=' + token, {}, (res) => {
                console.log(res);
                if (res.status == 1) {
                    this.accountJdh = res.account.accountJdh;
                    this.category = res.account.category;
                    this.getMyBank();
                        this.getBalance();
                } else {
                    this.toast(res.description);
                }
            });
        },

項目出現(xiàn)兼容問題,在火狐瀏覽器的響應性布局下展現(xiàn)出的是沒有數(shù)據(jù)和沒有樣式的頁面,例如這樣:圖片描述

然后在谷歌的瀏覽器移動端模式下是正常的 而且也有a標簽和銀行卡號
圖片描述

圖片描述
在火狐debug的時候res.status是underfined,但在開發(fā)者工具的網(wǎng)絡欄那里看到是有數(shù)據(jù)返回,status:1
圖片描述
圖片描述
而且谷歌瀏覽器debug卻是正常
圖片描述

回答
編輯回答
萌二代

取的字段是province_list?

clipboard.png

2017年11月24日 09:33