elementUI
浅笑如伤
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[Vue warn]: data functions should return an object:
vue报错 [Vue warn]: data functions should return an object: [Vue warn]Property "customClass" must be accessed with "$data.customClass" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals原创 2021-09-16 14:28:18 · 1160 阅读 · 0 评论 -
elementUI升级到某版本
第一步,卸载掉当前版本 npm uninstall element-ui 第二步,安装你想要的版本 npm install element-ui@2.13.0-S ,注意element-ui@2.13.0中间没有空格 npm uninstall element-ui npm install element-ui@2.13.0-S原创 2020-07-07 16:27:56 · 2533 阅读 · 0 评论 -
Elementui 表格单元格数据操作
1、单元格数据操作,适用于filter解决不了的数据操作,下面是几种常用写法 第一种写法,利用 slot-scope="scope" <el-table-column align="center" label="Windows" min-width="105"> <template slot-scope="scope"> <span>{{ scope.row.put}} | {{ scope.row.clicke }}</spa原创 2020-07-01 17:58:38 · 2158 阅读 · 0 评论 -
ElementUI的表格换行符失效、不换行
后台返回的接口数据 ‘“名称:示例↵ID:717”,在表格种并没有换行,原因是elementUI 在表格样式中写了white-space: normal; (normal空白会被浏览器忽略 \n、↵被忽略了) .el-table .cell{ white-space: normal;} 解决办法: //在类名为dr-table的div中的.el-table .cell子元素样式调整 .dr-table .el-table .cell{ white-space: pre-wrap; } wh..原创 2020-06-17 18:46:03 · 3509 阅读 · 0 评论
分享