网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

Element如何设置InputNumber隐藏按钮

时间:2024-10-12 00:47:46

1、打开一个vue文件,添加element框架下的InputNumber计数器,设置InputNumber计数器默认值为1。如图

Element如何设置InputNumber隐藏按钮Element如何设置InputNumber隐藏按钮

2、设置controls属性为false,用于隐藏数量添加和减少的点击按钮。如图

Element如何设置InputNumber隐藏按钮

3、保存vue文件后使用浏览器打开,即可看到InputNumber计数器左右两边的按钮已经隐藏掉了。如图

Element如何设置InputNumber隐藏按钮
© 2025 阿力知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com