wms-antdvue/.svn/pristine/11/112571875007b1bddef8b8891f3e7a4513a5fc41.svn-base
2024-11-07 16:33:03 +08:00

37 lines
698 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { PropType } from 'vue';
export const basicProps = {
value: {
type: [Array, Object, String, Number],
default: undefined,
},
request: {
type: Function as PropType<(...arg: any[]) => Promise<any>>,
default: null,
required: true,
},
//是否缓存数据
cache: {
type: Boolean,
default: false,
},
//开启缓存必传缓存key否则不生效
cacheKey: {
type: String,
default: '',
},
width: {
type: Number as PropType<number>,
default: 150,
},
//block属性将使按钮适合其父宽度
block: {
type: Boolean,
default: false,
},
placeholder: {
type: String,
default: '请选择',
},
};