Module '"*.vue"' has no exported member 'RulesProps'.
来源:5-3 ValidateInput 第二部分 —抽象验证规则
Frank_0030
2024-04-26
Module ‘".vue"’ has no exported member ‘RulesProps’. Did you mean to use 'import RulesProps from ".vue"’ instead?
32 | defineComponent, reactive
33 | } from ‘vue’
34 | import ValidateInput, { RulesProps } from ‘@/components/ValidateInput.vue’
RulesProps 这个 类型不能从子组件里导入吗
写回答
1回答
-
Frank_0030
提问者
2024-04-26
typescript 版本为4.4.4才行
012024-06-23
相似问题