import { cellProps } from './cell'  
const props = defineProps(cellProps )提示:
[plugin:uni:app-uvue] [@vue/compiler-sfc] defineProps() argument must be an object or array literal.  
直接defineProps中写{...}是不会报错的
这样引入会提示cellProps的类型不是object,有什么办法能UTSJSONObject转object吗
 
             
             
             
			 
                                        
                                     
            
0 个回复