![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
柏燊
这个作者很懒,什么都没留下…
展开
-
vue 鼠标移动触发 blur和focus
<input style="width: 50px;" :value="record.click" @focus="() => toFocus(record)" @blur="toDo(record,$event)" />toFocus鼠标点击toDo(record,e)鼠标移开 const that = this; let data = { .原创 2022-01-06 14:47:31 · 1021 阅读 · 0 评论 -
vue tab换标签
<a-tabs defaultActiveKey="1" tabPosition="top" class="tab-margin-top" @change="changeTab"> <a-tab-pane tab="标签1" key="1"> <a-table v-if="activeKey== 1"原创 2022-01-06 14:24:41 · 495 阅读 · 0 评论 -
vue columns的处理,filters处理时间
dataIndex 文本 { title: "title", dataIndex: "title", },customRender 插槽:选择性文本 { title: "sex", dataIndex: "sex", customRender: (text, row, index) => { switch (text) { c原创 2022-01-06 13:15:46 · 1910 阅读 · 0 评论 -
vue图片和缩略图
{ title: "图片数据\n", dataIndex: "picList", width: 200, align: "center", scopedSlots: { customRender: "commImg" } },定义一个scopedSlots可操作的模板<template slot="commImg" slot-scope="text"> ..原创 2021-08-12 11:02:52 · 350 阅读 · 0 评论