Android calls methods in vue?

how does Android call the methods method in vue? I have tried the following method
window.outGoodsResult = self.outGoodsResult to expose to window

window ["outGoodsResult"] = function (val) {

alert ("ceshi")
alert (val)

}
neither of these methods works
is there any good method?

  • Front-end cache, in what way

    the pictures and videos of a website want to be cached the first time they are requested, and will not be requested until the next time they are updated. It is a shopping website. What should be cached at the front end? , Android system, Android side pac...

Menu