feat(Tab): add to、url、replace prop (#4422)

This commit is contained in:
neverland
2019-09-11 11:15:53 +08:00
committed by GitHub
parent 6069d72df4
commit eb32c6b02e
11 changed files with 25 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
import { createNamespace } from '../utils';
import { ChildrenMixin } from '../mixins/relation';
import { routeProps } from '../utils/router';
const [createComponent, bem] = createNamespace('tab');
@@ -7,6 +8,7 @@ export default createComponent({
mixins: [ChildrenMixin('vanTabs')],
props: {
...routeProps,
name: [Number, String],
title: String,
disabled: Boolean