Commit e96553e8 authored by jiacheng.mao's avatar jiacheng.mao

去除极光推送的引用

parent 1e750327
......@@ -101,4 +101,4 @@
"PACKAGE_NAME": "com.xcmg.app"
}
}
}
\ No newline at end of file
}
......@@ -59,9 +59,9 @@ import hlsUtil from './scripts/hlsUtil'
/**
* jpush jmessage
*/
import Jpush from './scripts/jpushService'
// import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService'
// import Jmessage from './scripts/jmessageService'
// || process.env.CONFIG_ENV === 'prod'
if (process.env.CONFIG_ENV === 'uat') {
const VConsole = require('vconsole')
......@@ -107,9 +107,9 @@ Vue.prototype.PDFJS = window.PDFJS = PDFJS
Vue.prototype.hlsUtil = window.hlsUtil = hlsUtil
Vue.prototype.Jpush = window.Jpush = Jpush
// Vue.prototype.Jpush = window.Jpush = Jpush
Vue.prototype.Jmessage = window.Jmessage = Jmessage
// Vue.prototype.Jmessage = window.Jmessage = Jmessage
/**
* 全局返回上一页面
......@@ -135,7 +135,7 @@ if (window.localStorage.isReadPolicy === 'true') {
/* window.getRegistrationID = function (callback){
callback('')
} */
try {
/* try {
setTimeout(function () {
navigator.splashscreen.hide()
if (window.plugins.jPushPlugin) {
......@@ -146,7 +146,7 @@ if (window.localStorage.isReadPolicy === 'true') {
}
}, 40)
} catch (e) {
}
} */
if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true)
cordova.plugins.Keyboard.disableScroll(true)
......
......@@ -111,7 +111,7 @@ export default {
// console.log(error)
// }, {enableHighAccuracy: true})
// } else { // ios使用插件定位
baidumap_location.getCurrentPosition(function (result) {
/* baidumap_location.getCurrentPosition(function (result) {
console.log('*********** ' + JSON.stringify(result))
window.localStorage.setItem('province', result.province)
window.localStorage.setItem('city', result.city)
......@@ -122,7 +122,7 @@ export default {
vm.province_flag = true
}, function (error) {
console.log('errorerrorerrorerror ' + error)
})
}) */
// }
},
......
......@@ -47,8 +47,8 @@
</scroll>
</template>
<script>
import Jpush from "../scripts/jpushService";
import Jmessage from "../scripts/jmessageService";
// import Jpush from "../scripts/jpushService";
// import Jmessage from "../scripts/jmessageService";
var CryptoJS = require('crypto-js')
export default {
......@@ -108,7 +108,7 @@ export default {
async goHome () {
let flag = await this.getAccessToken()
if (flag) {
this.initJPush()
// this.initJPush()
this.$router.push('tab')
}
},
......@@ -302,13 +302,13 @@ export default {
},
})
},
initJPush () {
/* initJPush () {
if (window.localStorage.isReadPolicy === 'true') {
vum.$vumPlatform.ready(function () {
if ((vum.Platform.isAndroid()) || (vum.Platform.isIOS())) {
/* window.getRegistrationID = function (callback){
/!* window.getRegistrationID = function (callback){
callback('')
} */
} *!/
try {
setTimeout(function () {
navigator.splashscreen.hide()
......@@ -341,7 +341,7 @@ export default {
}
})
}
},
}, */
},
}
</script>
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=./cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script><title>徐工金服</title><link href=./static/css/app.fb52dd271f35e6cb942abb94eb5f18bb.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.7780e1adfdfe6ac04498.js></script><script type=text/javascript src=./static/js/vendor.6fb9a8a9e3d7464e35f7.js></script><script type=text/javascript src=./static/js/app.44587b14d696ac350635.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=./cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script><title>徐工金服</title><link href=./static/css/app.fb52dd271f35e6cb942abb94eb5f18bb.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.14a4464888b76cace761.js></script><script type=text/javascript src=./static/js/vendor.6fb9a8a9e3d7464e35f7.js></script><script type=text/javascript src=./static/js/app.3b1fc03cdd88b3c9ea24.js></script></body></html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment