支持全局异常和统一返回结果,未完待续
This commit is contained in:
@@ -140,7 +140,7 @@ export default {
|
||||
// that.isLoging = false;
|
||||
console.log('=====----=====')
|
||||
console.log(res)
|
||||
if (res.data.code == 0 && res.data.data) {
|
||||
if (res.data.code === 0 && res.data.data) {
|
||||
itemData.playUrl = res.data.data.httpsFlv
|
||||
that.setPlayUrl(res.data.data.ws_flv, idxTmp)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user