17定义局部过滤器
摘要:
<el-tag :type="scope.row.hxTag | formatType">{{ scope.row.hxTag }}</el-tag> filters: { formatType(value) { const tags = [ { text: "单质", type: "" }, { 阅读全文
posted @ 2020-06-15 21:53 章画 阅读(157) 评论(0) 推荐(0) 编辑
posted @ 2020-06-15 21:53 章画 阅读(157) 评论(0) 推荐(0) 编辑
posted @ 2020-06-15 21:52 章画 阅读(184) 评论(0) 推荐(0) 编辑
posted @ 2020-06-15 21:05 章画 阅读(529) 评论(0) 推荐(0) 编辑
posted @ 2020-06-15 10:56 章画 阅读(372) 评论(0) 推荐(0) 编辑