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
slot的默认显示问题 #2144
Comments
@lrdbzs myself and many others would be glad to help you if you could potentially translate these few lines into English. If that's hard, then also know that the community forum has dedicated sections for Chinese and Japanese (sorry I'm not familiar with the characters to differentiate) speaking members: Otherwise, I hope someone else can assist you. |
@lrdbzs 取反就好了吧 |
低级问题不要提 关掉吧 |
@xiaolongyuan 这个 issue 是个合理问题。当外部插入的内容带有 v-if 的时候不管 v-if 的值是真是假,fallback 内容都不会显示。虽然可能不算 bug 但是是个可以考虑支持的用例。 |
@yyx990803 +1 我今天也需要用到这样的状况,可以加进去吗? |
@yyx990803 是的 仔细一看 这个还真是挺蛋疼的
当然 如果使用到到组件作用域那会很蛋疼 @mage3k 认真看下 我开始也大意了
内容变成了 "替换的内容" |
@xiaolongyuan |
如果directive定义了
使用的时候
这样的话,“默认显示值”的文字就不出现了。我是希望当v-if="false"的时候显示默认值
The text was updated successfully, but these errors were encountered: