由于需要自定义内容 dialog组件使用过程中报错 [Vue warn]: Unknown custom element: <van-dialog> - did you register the component correctly? For recursive components, make sure to provide the "name" option
应这样引用:
import { Dialog } from 'vant';
[Dialog.Component.name]: Dialog.Component