...
|
...
|
@@ -11,7 +11,7 @@ import tip from 'common/tip'; |
|
|
// 注册ajaxError处理服务端401状态
|
|
|
$(document).ajaxError((event, xhr) => {
|
|
|
if (xhr.status === 401) {
|
|
|
if (!cookie.get('app_version')) {
|
|
|
if (yoho.isApp && !cookie.get('app_version')) {
|
|
|
tip({
|
|
|
txt: '请升级APP至最新版',
|
|
|
delay: 60 * 1000
|
...
|
...
|
|