miao-plugin/components/Common.js
2022-09-25 02:28:25 +08:00

14 lines
237 B
JavaScript

import Cfg from './Cfg.js'
import render from './common-lib/render.js'
function sleep (ms) {
return new Promise((resolve) => setTimeout(resolve, ms))
}
export default {
render,
cfg: Cfg.get,
isDisable: Cfg.isDisable,
sleep
}