摘要: ##调试 console.log("text"+text) +号, 不是逗号, js 不报错真莫不找头脑 ##迭代 for(let i of list){ ... i 是 list 的元素 for(let i in list){ ... i 是 list 的下标 阅读全文
posted @ 2023-04-27 16:23 Boiiea 阅读(9) 评论(0) 推荐(0)
摘要: 修改 vite 配置文件 通过反向代理, 使该前端项目中的请求从同一个 host 发出. import { fileURLToPath, URL } from 'node:url' import { defineConfig } from 'vite' import vue from '@vitej 阅读全文
posted @ 2023-04-27 10:15 Boiiea 阅读(41) 评论(0) 推荐(0)