index.html<script type="text/javascript">mui.init({
keyEventBind: {
backbutton: true //关闭back按键监听
}
});</script>
入口文件main.jsimport Mui from 'vue-awesome-mui'Vue.use(Mui)然后在组件页面内使用时提示'mui' is not definedmounted () { mui.back = function () { }},
添加回答
举报
0/150
提交
取消