el-element:自定义参数

希望在下拉框、输入框、多选框中添加自定义参数,这在项目中是非常常见的

1、 Select选择器中remote-method方法带自定义参数

html 复制代码
:remote-method="(query)=>{remoteMethod(query,'自定义参数')}"
remoteMethod(query, pid){ }

2、 el多选框方法追加参数(radioValue为默认参数,key自定义参数)

html 复制代码
@change="keywordTypeChange(...arguments, key)
keywordTypeChange(radioValue, key){}
相关推荐
摘星编程2 小时前
React Native for OpenHarmony 实战:PagingScroll 分页滚动详解
javascript·react native·react.js
LawrenceLan2 小时前
Flutter 零基础入门(二十一):Container、Padding、Margin 与装饰
开发语言·前端·flutter·dart
96772 小时前
初始web server的认识1---webserver的用途和工作流程
前端
叫我:松哥2 小时前
基于神经网络算法的多模态内容分析系统,采用Flask + Bootstrap + ECharts + LSTM-CNN + 注意力机制
前端·神经网络·算法·机器学习·flask·bootstrap·echarts
vx_bisheyuange3 小时前
基于SpringBoot的知识竞赛系统
大数据·前端·人工智能·spring boot·毕业设计
搂着猫睡的小鱼鱼3 小时前
签名逆向与浏览器自动化 / 动态渲染抓取京东评论信息
前端·javascript·自动化
凯新生物3 小时前
Mannose-PEG-CY5.5,CY5.5-PEG-Mannose技术手册:分子量选型与溶解性说明
javascript·c#·bash·symfony
wangbing11253 小时前
ES6 (ES2015)新增的集合对象Set
前端·javascript·es6
nvd113 小时前
企业级 LLM 实战:在受限环境中基于 Copilot API 构建 ReAct MCP Agent
前端·copilot
+VX:Fegn08953 小时前
计算机毕业设计|基于springboot + vue校园实验室管理系统(源码+数据库+文档)
数据库·vue.js·spring boot·后端·课程设计