摘要:
async / await 用同步的方式 执行异步操作 async 关键字 用于声明一个异步函数 只有再 async 函数中才能使用 await async 函数执行完后会返回一个状态为 fulfilled 的 Promise async function fn () { return '张三' } 阅读全文
posted @ 2023-01-30 14:54
加利福尼亚的阳光
阅读(26)
评论(0)
推荐(0)
摘要:
创建项目 vite create vite 项目名 --template 模板名 // 栗子 pp create vite@latest // 只包含vue3 pp create vue@latest // 可选择配置 // vue2 pp create vue@legacy 模板可参考 https 阅读全文
posted @ 2023-01-30 14:52
加利福尼亚的阳光
阅读(128)
评论(0)
推荐(0)