Skip to content

rand ​

描述 ​

生成随机数。

示例 ​

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

const num = rand(0, 100);

来源 ​

VueUse