vxe-grid的输入框设置默认值
时间: 2023-10-18 14:31:14 浏览: 183
根据引用中的代码,使用vxe-grid的输入框设置默认值的方法是通过在tableProxy中的query函数中给form对象的属性赋初始值。在代码中的例子中,给form.category属性赋值为1作为默认值。可以根据具体的需求给其他属性赋初始值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [vxe-grid/vxe-form 默认回车查询按着不放持续调接口问题(本人小后端,初学vue,存个笔记)](https://blog.csdn.net/qq_43421760/article/details/130064377)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [vxe-table的表单代理获取不到默认值](https://blog.csdn.net/weixin_42190844/article/details/121553930)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文