11 2021 档案
摘要:getNowTime() { var date = new Date(); this.year = date.getFullYear(); this.month = date.getMonth() + 1; this.date = date.getDate(); this.hour = date.g
阅读全文
摘要:dataZoom:[ { type: 'slider', maxValueSpan:5,//显示数据的条数(默认显示10个) show: true, yAxisIndex: [0], left: '93%', //滑动条位置 start:100,//默认为0 end: 70,//默认为100 ori
阅读全文
摘要:var clone =JSON.parse(JSON.stringify(arr))弊端:只能拷贝Number, String, Boolean, Array, 扁平对象,即那些能够被 JSON 直接表示的数据结构。 ;
阅读全文
摘要:download(e) { // 下载文件 const link = document.createElement('a') link.style.display = 'none' link.href = `${window.config.baseUrl}FileService/File/Downl
阅读全文
摘要:1、只有一个代理接口 (1)在package.json中添加"proxy": "需代理的接口" (2)使用axios调接口时就直接写本地端口号即可 2、有多个代理接口 (1)新建setupProxy.js文件夹(名字不能改,且内容要写COMMON.JS,不能写ES6) (2)调用接口
阅读全文

浙公网安备 33010602011771号