# 数字变化增长countup

可以使用countupjs

cnpm i countup.js --save

# 使用方法

import { CountUp } from 'countup';

const countUp1 = new CountUp('userTotal', 5234);
if (!countUp1.error) {
	countUp1.start();
} else {
	console.error(countUp1.error);
}
最后更新: 6/22/2020, 4:20:52 PM