fix(tree-menu): [tree-menu]fix treeMenu error in vue2 (#1371)

This commit is contained in:
ajaxzheng 2024-02-05 11:20:40 +08:00 committed by GitHub
parent a2d101bfeb
commit 6c016bfcc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

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

View File

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