快捷导航

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);                    }                });            },项目出现兼容问题,在火狐浏览器的响应性布局下展现出的是没有数据和没有样式的页面,例如这样:

然后在谷歌的浏览器移动端模式下是正常的 而且也有a标签和银行卡号:


在火狐debug的时候res.status是underfined,但在开发者工具的网络栏那里看到是有数据返回,status:1

而且谷歌浏览器debug确实正常

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

参与会员1

推荐到社区去提交,目前我也有vue项目在火狐中不能兼容,具体原因不详。
回复

使用道具 举报

可能感兴趣的问答

发新帖
  • 微信访问
  • 手机APP