上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 90 下一页
摘要: /* 横屏 */ @media only screen and (orientation: landscape) { } 阅读全文
posted @ 2022-07-19 15:49 Running00 阅读(76) 评论(0) 推荐(0) 编辑
摘要: vite.config.js , import.meta.env undefined import {defineConfig, loadEnv} from 'vite'; export default defineConfig(({ command, mode }) => { // 根据当前工作目 阅读全文
posted @ 2022-07-15 16:51 Running00 阅读(164) 评论(0) 推荐(0) 编辑
摘要: background: 传入参数 background: url('@{url}/statics/icon.png'); 阅读全文
posted @ 2022-07-15 12:49 Running00 阅读(4) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/huangcong/p/9517123.html 阅读全文
posted @ 2022-07-14 13:40 Running00 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 非根目录配置 1、vite配置文件中base:'/test' 绝对路径 2、createWebHistory:createWebHistory('/test') 绝对路径 3、nginx location /test { try_files $uri $uri/ /test/index.html; 阅读全文
posted @ 2022-07-13 16:40 Running00 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 将所以的\n换行符号替换为'' str.replace(/\n/g, '') 阅读全文
posted @ 2022-07-12 19:40 Running00 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 情况一:"ECONNABORTED" : 超时,外网访问 情况二:404 vite server 本地未配置代理 情况三:断网 阅读全文
posted @ 2022-07-07 00:54 Running00 阅读(203) 评论(0) 推荐(0) 编辑
摘要: "ECONNABORTED" : 超时,外网访问 404 vite server 本地未配置代理 阅读全文
posted @ 2022-07-07 00:52 Running00 阅读(24) 评论(0) 推荐(0) 编辑
摘要: uni.request 1、断网,情况发请求 {"errMsg":"request:fail"} 2、超时 {"errMsg":"request:fail timeout"} 模拟超时: chrome 控制台,network, 点击add,填写之后 可以模拟超时 阅读全文
posted @ 2022-07-06 20:39 Running00 阅读(349) 评论(0) 推荐(0) 编辑
摘要: ref reactive 阅读全文
posted @ 2022-07-06 14:21 Running00 阅读(100) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 90 下一页