You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
dialog组件 的组件调用 在当前页面写了Vue.use(dialog) 不能使用,想请问一下这个全局注册怎么注册。下面这种组件调用的方式只能用于函数,不能用于dialog的组件调用(就是写在页面里,因为我要自定义内容)
![image](https://user-images.githubusercontent.com/12179854/62539683-5f925780-b888-11e9-96fd-3ba96063ab5d.png)
import { Dialog } from "vant"; export default { components: { Dialog } }
找到官方的解释
![image](https://user-images.githubusercontent.com/12179854/62539710-75a01800-b888-11e9-894f-7e32ea99e70c.png)
请问怎么解决呢?
The text was updated successfully, but these errors were encountered: