1、在 select 组件中我们可以配合focus存本地实现;

2、在我们使用 select 组件的远程搜索时,我们给 remote-method 这个方法添加自定义参数,

代码实现如下:

:remote-method="(query) => getProductList(query, <自定义参数>)"

query:为remote-method默认参数;

自定义参数:可以是任意类型;

欢迎留言交流,QQ:1960816818

elementui el-form中el-form-item自定义labelicon-default.png?t=LA92https://blog.csdn.net/qq_38909255/article/details/122121432

Logo

前往低代码交流专区

更多推荐