-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
perf(ui/switch): add class #372
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #372 +/- ##
==========================================
+ Coverage 96.39% 96.41% +0.02%
==========================================
Files 209 209
Lines 4907 4936 +29
Branches 1047 991 -56
==========================================
+ Hits 4730 4759 +29
Misses 177 177
Continue to review full report at Codecov.
|
<div | ||
class="var-switch-block" | ||
:class="[disabled || formDisabled ? 'var-switch__disable' : null]" | ||
:class="classes('var-switch-block', [disabled || formDisabled, n('disable')])" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里我命名有点问题 var-switch-block
改成var-switch__block
,var-switch__disable
改成var-switch--disable
,less 文件里面也需要改哈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the test file need to be modified?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e.g?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
测试用例中的快照是var-switch-disable ,如果只是.vue和.less修改,yarn test 会失败
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那单测就一起改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的
thanks |
Checklist
Change information