摘要:
验证邮箱的正则表达式: const regEmail = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/ 或 const regEmail = /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA 阅读全文
posted @ 2022-10-06 15:49
Mahmud*小麦*
阅读(130)
评论(0)
推荐(0)
摘要:
打包后运行index.html,会报错"because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled." 1.找到config文件夹下的 阅读全文
posted @ 2022-10-06 07:06
Mahmud*小麦*
阅读(2090)
评论(0)
推荐(0)
摘要:
路由懒加载可以帮我们在进入首屏时不用加载过度的资源,从而减少首屏加载速度。 (1)路由文件中,非懒加载写法: import Index from '@/page/index/index'; export default new Router({ routes: [ { path: '/', name 阅读全文
posted @ 2022-10-06 06:49
Mahmud*小麦*
阅读(261)
评论(0)
推荐(0)

浙公网安备 33010602011771号