-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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 report] invalid CSS v-bind in El dialog #4037
Comments
Translation of this issue: Element Plus version1.1.0-beta.24 OS/Browsers versionchrome 95 Vue version3.2.20 Reproduction Linkhttps://codesandbox.io/s/element-plus-spa-forked-6v051? file=/src/dialog.vue:70-76 Steps to reproduce*Take the bullet frame as the root node component *Add app to body What is Expected?I hope to consider how to achieve this situation What is actually happening?Using v-bind in CSS, Vue associates the currently compiled variables with hash values to the dom of the root node in style. However, when dialog is used as the root node, El dialog customizes a style |
同样的问题,appent-to-body后无法使用变量注入scss(v-bind),需要开放body的style参数或者支持该变量注入。 |
A temporary solution: just use css var. |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Element Plus version
1.1.0-beta.24
OS/Browsers version
chrome 95
Vue version
3.2.20
Reproduction Link
https://codesandbox.io/s/element-plus-spa-forked-6v051?file=/src/dialog.vue:70-76
Steps to reproduce
What is Expected?
希望考虑一下这种情况要怎么实现
What is actually happening?
在css中使用v-bind,vue把当前编译好的带hash值的变量通过style的方式关联到根节点的dom上,但是把dialog作为根节点时,el-dialog自定义了一段style样式
The text was updated successfully, but these errors were encountered: