diff --git a/App.vue b/App.vue index c8b0a3f..4007c3c 100644 --- a/App.vue +++ b/App.vue @@ -36,6 +36,8 @@ export default { /** 关闭启动画面,锁定竖屏 */ plus.navigator.closeSplashscreen(); plus.screen.lockOrientation("portrait-primary"); + + // #endif /** 设置语言 (此处为了方便demo切换语言,将其存到本地,实际需根据业务情况设置)*/ diff --git a/api/my_api.js b/api/my_api.js index 9363bd9..e6abd35 100644 --- a/api/my_api.js +++ b/api/my_api.js @@ -14,6 +14,10 @@ const my_api = { expertWxLogin(data,header) { return request('/expertAPI/wechatLogin', data, 'post', true,'application/json',header); + }, + + checkVersion(data) { + return request('/expertAPI/checkVersion', data, 'post', true); } } diff --git a/pages_app/setting/setting.vue b/pages_app/setting/setting.vue index 9a068ed..7784d5d 100644 --- a/pages_app/setting/setting.vue +++ b/pages_app/setting/setting.vue @@ -144,8 +144,7 @@