isShowSuggestion 改为shouldShowSuggestion 或许会更好一点 #1257
                  
                    
                      TerminatorSd
                    
                  
                
                  started this conversation in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
vue-devui/packages/devui-vue/devui/tag-input/src/tag-input.tsx
Line 143 in e84bd13
华为JS 语言通用编程规范里提到,布尔型的局部变量建议加上表达是非意义的前缀,包括常用的is,也可以时has、can、should 等,在这个场景下,我认为使用should 更符合英文的语义。
Beta Was this translation helpful? Give feedback.
All reactions