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

为什么我按照教程中的引入了之后没有生效 #5

Closed
xyz-zz opened this issue Jul 13, 2018 · 2 comments
Closed

为什么我按照教程中的引入了之后没有生效 #5

xyz-zz opened this issue Jul 13, 2018 · 2 comments

Comments

@xyz-zz
Copy link

xyz-zz commented Jul 13, 2018

import vueCanvasNest from 'vue-canvas-nest' ;
components: { vueCanvasNest },
在data中定义了配置对象
data() {
return {
vueCanvasNestConfig: {
zIndex: 2
}
}
}
再调用时候传入进去

在页面中已经有了这个元素 但是我的配置对象并没有生效

@xyz-zz xyz-zz closed this as completed Jul 13, 2018
@xyz-zz xyz-zz reopened this Jul 13, 2018
@ZYSzys
Copy link
Owner

ZYSzys commented Jul 13, 2018

当前组件是否设置了背景把canvas-nest给遮住了呢?

@ZYSzys
Copy link
Owner

ZYSzys commented Jul 17, 2018

@ZYSzys ZYSzys closed this as completed Jul 17, 2018
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

2 participants