Skip to content

increaseWithUnit

描述

增加带单位的数值。

示例

ts
import { increaseWithUnit } from '@base-web-kits/base-tools-vue';

const width = increaseWithUnit('10px', 10); // '20px'
``` 示例代码

来源

VueUse