官網(wǎng):
Element - The world's most popular Vue UI frameworkElement,一套為開(kāi)發(fā)者、設(shè)計(jì)師和產(chǎn)品經(jīng)理準(zhǔn)備的基于 Vue 2.0 的桌面端組件庫(kù)https://element.eleme.cn/#/zh-CN/component/dialog
?用了這個(gè)
custom-class但是沒(méi)有生效 |
?
?
看了網(wǎng)上的方法說(shuō)在新起的類(lèi)名前加個(gè)
.el-dialog
但是還是沒(méi)有生效。文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-599300.html
最后再加個(gè)deep就行了:文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-599300.html
/deep/.el-dialog.reply-info-dialog{ width: 50px !important; }
到了這里,關(guān)于element ui dialog custom-class不生效最終解決辦法的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!