forked from opentiny/tiny-vue
fix(tree-menu): [tree-menu]fix treeMenu error in vue2 (#1371)
This commit is contained in:
parent
a2d101bfeb
commit
6c016bfcc0
|
@ -1,7 +1,8 @@
|
|||
import { $prefix, $setup, defineComponent } from '@opentiny/vue-common'
|
||||
import { $prefix, $setup, defineComponent, $props } from '@opentiny/vue-common'
|
||||
import template from 'virtual-template?pc'
|
||||
|
||||
export const areaProps = {
|
||||
...$props,
|
||||
modelValue: {},
|
||||
placeholder: {
|
||||
type: String,
|
||||
|
|
|
@ -3,7 +3,7 @@ import template from 'virtual-template?pc'
|
|||
import { iconSearch } from '@opentiny/vue-icon'
|
||||
|
||||
export const treeMenuProps = {
|
||||
$props,
|
||||
...$props,
|
||||
placeholder: {
|
||||
default: '',
|
||||
type: String
|
||||
|
|
Loading…
Reference in New Issue