zoukankan      html  css  js  c++  java
  • 1、某些组件引入非Vue.use()

    Message组件引入。

    不能用Vue.use(Message)----这样不能,调用组件。并且没进页面都会有 弹框。

    解决方法:

    通过加载组件的方式引入即可

     Vue.use(Message)  改为 Vue.prototype.$message = Message 或 Vue.component(Message.name,Message) ;

  • 相关阅读:
    Spring----Day03
    Spring----Day02
    python
    python
    python
    python
    python
    python
    python
    python
  • 原文地址:https://www.cnblogs.com/swt-axios/p/13280013.html
Copyright © 2011-2022 走看看