[Bug]图片zindex 下移报错
407257625 opened this issue · 4 comments
407257625 commented
问题描述
简明扼要的描述你的问题
图片zindex 下移报错
vue.esm.js?a026:1897 TypeError: Cannot read property 'commonStyle' of undefined
at swapZindex (element.js?4e42:44)
at Store.elementManager (element.js?8ab7:84)
at wrappedMutationHandler (D:\electron_demo\design\design\node_modules\vuex\dist\vuex.common.js:846)
at commitIterator (D:\electron_demo\design\design\node_modules\vuex\dist\vuex.common.js:468)
at Array.forEach (<anonymous>)
at D:\electron_demo\design\design\node_modules\vuex\dist\vuex.common.js:467
at Store._withCommit (D:\electron_demo\design\design\node_modules\vuex\dist\vuex.common.js:626)
at Store.commit (D:\electron_demo\design\design\node_modules\vuex\dist\vuex.common.js:466)
at Store.boundCommit [as commit] (D:\electron_demo\design\design\node_modules\vuex\dist\vuex.common.js:411)
at local.commit (D:\electron_demo\design\design\node_modules\vuex\dist\vuex.common.js:798)
环境描述/版本信息 (请完成如下信息)
- OS: [e.g. Mac/Windows]
- Browser [e.g. chrome, safari]
- Node
- 本地开发版本 or 鲁班线上 Demo?
如何复现
复现步骤
1.
2.
3.
4.
预期结果
简明扼要的说明你期待的结果
截图
如果可以的话,附上截图
其它补充内容
任何和这个问题有关的额外内容
ly525 commented
@407257625 我看下
407257625 commented
这是BUG吗?
bozch commented
看了俩组件都有问题,估计是共性的。 是不是在添加组件的时候直接添加一行代码就可以:
vm.$options.zindex = len + 1
ly525 commented
@407257625 非常感谢反馈,👍,已经fixed 更新至master分支了
@bozch 是这样的,👍,感谢建议