我收到以下警告:
inWarning: `div` was passed a style object that has previously been mutated.Mutating `style` is deprecated. Consider cloning it beforehand. Check the `render` of `xxx`.Previous style: {backgroundColor: "#000000"}. Mutated style: {backgr
我们不应该看复选框“选中”状态:是否选中它,它取决于,再次依赖于外部逻辑,例如vuex状态或getter。尝试1复选框组件具有checked和onClick属性,这些属性的值偏离了过程,可以是动态的。它看起来像是编译成类似于<component>.$props.onClick="<vuex store manipulations ...>"的东西--如果是这样的话,它就是组件内部的隐式属性突变。如果可能的话,这将是很酷