提交 02bd6ab5 编写于 作者: 杨广俊's avatar 杨广俊

ggggg

上级 906526a9
......@@ -151,6 +151,7 @@ export default {
this.showDelete = !this.showDelete
},
getUserInfo: function () {
alert('in hist getUserInfo')
rocNative.getUserInfo({'__funcName': '__getUserInfo'})
},
confirmDelete() {
......
......@@ -56,7 +56,7 @@ export default {
mounted(){
let _self = this;
window.__getUserInfo = function(params){
alert(JSON.stringify(params))
// alert(JSON.stringify(params))
_self.token = params.userToken
// _self.SET_USER_INFO(params)
_self.getData()
......@@ -112,7 +112,7 @@ export default {
}
let url = '/contents/searchKeyword/listKeywords'
this.GET(url, para).then(res => {
alert(JSON.stringify(res))
// alert(JSON.stringify(res))
if (res.code == '000000') {
if (res.data && res.data.length) {
let index = Math.floor(Math.random() * res.data.length)
......@@ -123,7 +123,7 @@ export default {
})
},
getUserInfo: function () {
alert('getUserInfo')
// alert('getUserInfo')
rocNative.getUserInfo({'__funcName': '__getUserInfo'})
},
getStatusBarHeight: function () {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册