miao-plugin/components/Common.js

18 lines
289 B
JavaScript
Raw Normal View History

2022-08-18 10:13:42 +00:00
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')
}
2023-06-03 12:31:13 +00:00
2022-07-23 20:32:10 +00:00
}
export default Common