mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
[improvement] rename suffixPx to addUnit
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { createNamespace, suffixPx } from '../utils';
|
||||
import { createNamespace, addUnit } from '../utils';
|
||||
import { emit, inherit } from '../utils/functional';
|
||||
|
||||
// Types
|
||||
@@ -31,7 +31,7 @@ function PasswordInput(
|
||||
|
||||
let style;
|
||||
if (i !== 0 && props.gutter) {
|
||||
style = { marginLeft: suffixPx(props.gutter) };
|
||||
style = { marginLeft: addUnit(props.gutter) };
|
||||
}
|
||||
|
||||
Points.push(
|
||||
|
Reference in New Issue
Block a user