随笔分类 -  vue

摘要:import axios from 'axios' import {Message, Loading} from 'element-ui' import {delCookie, getToken} from "@/api/baseData"; import api from "@/api/api"; 阅读全文
posted @ 2023-04-04 15:18 代码MM 阅读(97) 评论(0) 推荐(0)
摘要:angular 内存泄露 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 解决办法(亲测可用) 解决方法:手动改写内存上限 修改目录: m 阅读全文
posted @ 2021-03-17 12:44 代码MM 阅读(2213) 评论(0) 推荐(0)
摘要:vue-router history模式在iis服务器上404问题解决方法 vue默认模式是hash模式 url地址栏会带有“#”这个字符。 例如:http://www.xxx.com/#/index 感觉和正常的url相比有点丑。 所以我们就会使用history这个模式把“#”去掉,但是当我们打包 阅读全文
posted @ 2020-10-10 11:50 代码MM 阅读(716) 评论(1) 推荐(0)