<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>代码人 - elementUI</title>
    <link>https://www.daimaren.com/forum.php?mod=forumdisplay&amp;fid=3</link>
    <description>Latest 20 threads of elementUI</description>
    <copyright>Copyright(C) 代码人</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 22 Apr 2026 14:59:55 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.daimaren.com/static/image/common/logo_88_31.gif</url>
      <title>代码人</title>
      <link>https://www.daimaren.com/</link>
    </image>
    <item>
      <title>row-click实现点击el-table行选择</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=278</link>
      <description><![CDATA[const dataTable = ref() // 列表
const handleRowClick = (row) =&gt; {
  dataTable.value.toggleRowSelection(row)
}

......





......]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Fri, 21 Mar 2025 08:04:24 +0000</pubDate>
    </item>
    <item>
      <title>el-tree 利用属性设置默认展示若干个节点</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=253</link>
      <description><![CDATA[]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Tue, 21 Jan 2025 01:23:29 +0000</pubDate>
    </item>
    <item>
      <title>element表单验证中的 手机号和身份证 验证</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=128</link>
      <description><![CDATA[js:
[kkpay=3]
customerTel: [
          {
            type: \'number\',
            required: true,
            message: \'请输入手机号\',
            trigger: \'blur\'
          },
          {
            pattern: /^0{0,1}(13[0-9]|15[7-9]|153|156|18[7]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:43:14 +0000</pubDate>
    </item>
    <item>
      <title>el-table清除所有选择项</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=127</link>
      <description><![CDATA[操作：
html:
......

js:
[kkpay=1]
onSelectAll () {
            this.$refs.multipleTable.clearSelection();//这个是清除所有选择项，当选择全部时，清除所有选择项
        }
[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:42:07 +0000</pubDate>
    </item>
    <item>
      <title>el-table增加序号列</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=126</link>
      <description><![CDATA[html:
[kkpay=1]

              
                {{ scope.$index + 1 }}
              
            
......

[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:38:20 +0000</pubDate>
    </item>
    <item>
      <title>vue element-ui中table本地数据分页</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=125</link>
      <description><![CDATA[html:]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:36:08 +0000</pubDate>
    </item>
    <item>
      <title>element-ui的table跨页多选及清空</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=124</link>
      <description><![CDATA[]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:32:24 +0000</pubDate>
    </item>
    <item>
      <title>vue element-ui 时间控制范围内使用</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=123</link>
      <description><![CDATA[1.html

      月份
      
      
    

2.js
[kkpay=3]
pickerOptions: {
        disabledDate(time) {
          var systemTime = \&quot;\&quot;
            // 当前月
            let nowDate = new Date();
let date = {
              year: nowDate.getFullYear(]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:30:45 +0000</pubDate>
    </item>
    <item>
      <title>element-ui 中 el-input框右侧添加单位</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=122</link>
      <description><![CDATA[尾部：

    元


前部：

    元]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:29:34 +0000</pubDate>
    </item>
    <item>
      <title>el-autocomplete删除默认触发搜索</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=121</link>
      <description><![CDATA[el-autocomplete触发带输入建议的两种方式:

1.输入框获取焦点时就触发
这是默认的

2.输入值后匹配触发
在组件上加上:trigger-on-focus=\&quot;false\&quot;]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:28:44 +0000</pubDate>
    </item>
    <item>
      <title>el-input 高度自适应autosize</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=120</link>
      <description><![CDATA[el-input 高度自适应autosize
html:
[kkpay=1]
[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:27:18 +0000</pubDate>
    </item>
    <item>
      <title>vue element-ui中table合计指定列求合</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=119</link>
      <description><![CDATA[element-ui中table合计指定列求合


html：


js：
[kkpay=1]

[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 10 Oct 2024 12:24:32 +0000</pubDate>
    </item>
    <item>
      <title>textarea 字节统计</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=82</link>
      <description><![CDATA[1.html


2.script

[kkpay=3]


[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Mon, 23 Sep 2024 12:12:59 +0000</pubDate>
    </item>
    <item>
      <title>搜索框标题和搜索值匹配并改变颜色</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=79</link>
      <description><![CDATA[1.html：


2.js：



3.css：

[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Sun, 22 Sep 2024 14:11:07 +0000</pubDate>
    </item>
    <item>
      <title>el-input输入文字失焦验证文字已经存在</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=78</link>
      <description><![CDATA[1.html



2.script
[kkpay=1]

[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Sun, 22 Sep 2024 14:06:29 +0000</pubDate>
    </item>
    <item>
      <title>el-tree懒加载</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=76</link>
      <description><![CDATA[代码：
[kkpay=10]



import request from \&quot;@/utils/request\&quot;;

export default {
name: \&quot;interLigConfig\&quot;,
  data() {
    return {
      rootTreeData:[],
      props: {
        label: \'name\',
        children: \'zones\',
        isLeaf: \'lea]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 19 Sep 2024 08:56:25 +0000</pubDate>
    </item>
    <item>
      <title>element ui tree回显 setCheckedNodes，setCheckedKeys，setChecked等函数报undefined</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=74</link>
      <description><![CDATA[问题描述：
element ui tree回显 setCheckedNodes，setCheckedKeys，setChecked等函数报undefined问题

解决：
[kkpay=1]
这时只需要给该函数包裹一层nextTick方法就行了。

[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Thu, 19 Sep 2024 08:44:32 +0000</pubDate>
    </item>
    <item>
      <title>el-input只能输入小数点后2位</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=68</link>
      <description><![CDATA[html:




js:
[kkpay=5]


[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Mon, 09 Sep 2024 14:55:38 +0000</pubDate>
    </item>
    <item>
      <title>el-table清除选项</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=52</link>
      <description><![CDATA[el-table清除选项操作：
[kkpay=1]
this.$refs.table.$refs.table.clearSelection();
[/kkpay]]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Sun, 01 Sep 2024 09:04:42 +0000</pubDate>
    </item>
    <item>
      <title>.el-collapse 样式修改</title>
      <link>https://www.daimaren.com/forum.php?mod=viewthread&amp;tid=51</link>
      <description><![CDATA[/deep/.el-collapse-item__header.is-active,/deep/.el-collapse-item__header{
  background-color: #3a8ee63d !important;
  padding: 3px 12px !important;
  color: #0f1826;
  font-weight: normal;
  height: 30px!important;
  line-height: 30px!important;
]]></description>
      <category>elementUI</category>
      <author>dmr</author>
      <pubDate>Sun, 01 Sep 2024 03:15:50 +0000</pubDate>
    </item>
  </channel>
</rss>