当前位置: 代码迷 >> 综合 >> The data property “flags“ is already declared as a prop. Use prop default value instead.
  详细解决方案

The data property “flags“ is already declared as a prop. Use prop default value instead.

热度:95   发布时间:2023-12-14 04:46:00.0

这种情况,一般是父组件传了个参数lang,但是在data里面又定义了lang

把data里面的lang删除就行了。

  相关解决方案