feat(Form): support using stepper

This commit is contained in:
陈嘉涵
2020-02-10 17:06:00 +08:00
parent 1cde0b4d52
commit 7fa4e8cad1
2 changed files with 10 additions and 0 deletions

View File

@@ -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,