Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]图片zindex 下移报错 #293

Closed
407257625 opened this issue Jan 5, 2021 · 4 comments
Closed

[Bug]图片zindex 下移报错 #293

407257625 opened this issue Jan 5, 2021 · 4 comments

Comments

@407257625
Copy link

407257625 commented Jan 5, 2021

问题描述
简明扼要的描述你的问题
图片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.

预期结果
简明扼要的说明你期待的结果

截图
如果可以的话,附上截图

屏幕截图 2021-01-05 090601

其它补充内容
任何和这个问题有关的额外内容

@ly525
Copy link
Owner

ly525 commented Jan 5, 2021

@407257625 我看下

@407257625
Copy link
Author

这是BUG吗?

@bozch
Copy link

bozch commented Jan 7, 2021

看了俩组件都有问题,估计是共性的。 是不是在添加组件的时候直接添加一行代码就可以:

vm.$options.zindex = len + 1

ly525 added a commit that referenced this issue Feb 12, 2021
@ly525 ly525 closed this as completed in 1406139 Feb 12, 2021
@ly525
Copy link
Owner

ly525 commented Feb 12, 2021

@407257625 非常感谢反馈,👍,已经fixed 更新至master分支了

@bozch 是这样的,👍,感谢建议

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants