vue3 开发过程遇到这样一个报错 TypeError: Cannot read properties of null (reading 'shapeFlag') 最后发现是ref定义的变量,在访问时没有使用.valuereactive 变量初始化是数组,如果使用字符串赋值时也会报这个错。