mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2026-05-15 00:00:02 +08:00
验证,组件优化,样式优化等
This commit is contained in:
@@ -171,4 +171,8 @@ common.setDefaultValue = (obj, attr, value) => {
|
||||
obj[attr] = obj[attr] === undefined ? value : obj[attr]
|
||||
}
|
||||
|
||||
common.isComma = (value) => {
|
||||
return value.toString().indexOf(',') !== -1
|
||||
}
|
||||
|
||||
export default common
|
||||
|
||||
Reference in New Issue
Block a user