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

Element如何设置InputNumber隐藏按钮

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

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

Element如何设置InputNumber隐藏按钮

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

Element如何设置InputNumber隐藏按钮
© 智德知识库