mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2026-01-29 01:07:27 +00:00
🗑️ chore(modules): delete Fanqie app module 🗑️ chore(utils): remove Pinyin utility class 🛠️ refactor(components/tool): clean up tool functions 📦 update(package): add fs-extra and uuid dependencies
13 lines
226 B
JavaScript
13 lines
226 B
JavaScript
let tools = {
|
|
/**
|
|
* 延时函数
|
|
* @param {number} ms - 等待的毫秒数
|
|
* @returns {Promise<void>}
|
|
*/
|
|
sleep(ms) {
|
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
},
|
|
};
|
|
|
|
export default tools;
|