UNPKG

mobile-more

Version:

基于 antd-mobile v5 扩展移动端 UI 组件

16 lines (15 loc) 339 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTimestampString = getTimestampString; // TODO 大版本更新改用 React.useId /** * 使用时间戳生成字符串。 * * @param prefix 时间戳前缀 * @returns */ function getTimestampString(prefix) { return prefix + '_' + Date.now(); }