mounted() { this.onPlusReady(); }, methods: { onPlusReady() { if (window.plus) { //1 this.getVersion(); } else { //2 document.addEventListener('plusready', this.getVersion,false) } }, getVersion() {
收起
window.plus 是啥,它不为真多话,肯定进不去的
报告相同问题?