提交 e390e5d3 编写于 作者: zhangpingchuan's avatar zhangpingchuan

fix: 修复类型报错

上级 73c360dc
...@@ -73,7 +73,7 @@ export const IBizInput = defineComponent({ ...@@ -73,7 +73,7 @@ export const IBizInput = defineComponent({
} }
} }
} }
const currentVal = ref<string>(''); const currentVal = ref<string | number>('');
const getInputValue = (value: string | number) => { const getInputValue = (value: string | number) => {
if (type.value === 'number' || !ibiz.config.enableXSS) { if (type.value === 'number' || !ibiz.config.enableXSS) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册