【求助】element-ui中的Drawer 抽屉组件在使用时没有样式?

问题:
element-ui中的Drawer 抽屉组件在使用时没有样式?
不知道为什么


效果如下图:
111.gif

代码如下:

  <el-button @click="drawer = true" type="primary" style="margin-left: 16px;">
    点我打开
  </el-button>

  <el-drawer
    title="我是标题"
    :size="800"
    :visible.sync="drawer"
    :modal-append-to-body="'true'"
    :append-to-body="'true'"
    :direction="direction"
    :before-close="handleClose">
    <span>我来啦!</span>
  </el-drawer>
阅读 13.2k
1 个回答

是不是其他的组件也没样式?

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题