miao-plugin/components/Common.js
2023-06-03 20:31:13 +08:00

18 lines
289 B
JavaScript

import Cfg from './Cfg.js'
import Render from './common/Render.js'
const Common = {
render: Render.render,
cfg: Cfg.get,
sleep (ms) {
return new Promise((resolve) => setTimeout(resolve, ms))
},
async downFile () {
console.log('down file')
}
}
export default Common