mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
feat(Tab): add to、url、replace prop (#4422)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user