mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
feat(Form): support using stepper
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { createNamespace, isDef, addUnit } from '../utils';
|
||||
import { resetScroll } from '../utils/dom/reset-scroll';
|
||||
import { preventDefault } from '../utils/dom/event';
|
||||
import { FieldMixin } from '../mixins/field';
|
||||
|
||||
const [createComponent, bem] = createNamespace('stepper');
|
||||
|
||||
@@ -18,6 +19,8 @@ function add(num1, num2) {
|
||||
}
|
||||
|
||||
export default createComponent({
|
||||
mixins: [FieldMixin],
|
||||
|
||||
props: {
|
||||
value: null,
|
||||
integer: Boolean,
|
||||
|
Reference in New Issue
Block a user