You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2021. It is now read-only.
1.Your development environment(weex、weex-toolkit、system and more).
2.Expected behavior and actual behavior.
wxc-button
的时候,如果状态发生改变,比如disabled=true
变为disabled=false
,在按钮样式中的文字颜色会变成黑色。经查阅源码,发现在wxc-button/index.vue
61行中代码如下type.js
中找到TEXT_STYLE_MAP
的定义如下:type
的可选值为white
、red
、yellow
、blue
,TEXT_STYLE_MAP
中为taobao
、fliggy
、white
,假如我使用type=red
,在TEXT_STYLE_MAP就找不到该属性,因此计算属性最后的结果会将按钮文字赋为默认的#000000
黑色。3.Steps to reproduce the problem.
The text was updated successfully, but these errors were encountered: