-
+
- $emit('update:modelValue', content)"
- />
+ $emit('update:modelValue', content)" />
@@ -47,7 +33,9 @@ const props = defineProps({
/* 上传文件大小限制(MB) */
fileSize: propTypes.number.def(5),
/* 类型(base64格式、url格式) */
- type: propTypes.string.def('url')
+ type: propTypes.string.def('url'),
+ /* 占位符 */
+ placeholder: propTypes.string.def('请输入内容'),
});
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -90,7 +78,7 @@ const options = ref