报错全文:Free data with key "xxx" of page "xxx/xxx/xxx" seems not a simple value. Result of deep cloning this value in page instantiation may be unexpected. Consider assigning this value at the beginning of onLoad method.
翻译为:
页面“xxx/xxx/xxx”的键“xxx”的数据似乎不是一个简单的值。在页实例化中深度克隆此值的结果可能是意外的。考虑在onLoad方法的开头分配这个值。
问题原因应该是覆盖问题:
这里我是因为我用了一个插件定义rules,导致此报错
解决方法:
报错信息也几乎给出了解决方式,就是将与data同级的混入值放到onLoad中加载,如下所示