Commit e8b0645c authored by 李晓兵's avatar 李晓兵

'jpush'

parent f27f3b1a
......@@ -59,8 +59,8 @@ import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService'
// if (process.env.CONFIG_ENV === 'uat') {
const VConsole = require('vconsole')
new VConsole() // eslint-disable-line
//const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
// }
Vue.use(componentInstall)
......
......@@ -191,7 +191,7 @@ export default {
_jpush_config: function (tagOption) {
if (process.env.isMobilePlatform) {
let phone = window.localStorage.user_phone
alert('phone'+phone)
// alert('phone'+phone)
let tags = []
for (let key in tagOption) {
tags.push(tagOption[key])
......@@ -201,9 +201,9 @@ export default {
} */
window.plugins.jPushPlugin.setTags({sequence: Number(phone), tags: tags},
function (result) {
alert('11'+result.tags)
// alert('11'+result.tags)
}, function (error) {
alert('22'+error.code)
// alert('22'+error.code)
})
}
},
......
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