// 方式一、页面刷新
const users = ['mt', 'hai', 'xiaorui'];
router.get('/getData', async ctx => {
ctx.body = users
数据实时更新
最新推荐文章于 2024-05-29 17:58:52 发布
// 方式一、页面刷新
const users = ['mt', 'hai', 'xiaorui'];
router.get('/getData', async ctx => {
ctx.body = users