摘要: /** * echarts 图表自适应窗口大小变化的指令 * useage: ①main函数中引入:import '@/directive/echartResizeHelper.js' * ②echarts容器上使用指令 <div id="chart-container" v-on-echart-r 阅读全文
posted @ 2020-09-24 16:29 江浩゛ 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 封装++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ import axios from 'axios' import { Message, Loading } from 'element-ui' import store fr 阅读全文
posted @ 2020-09-24 16:24 江浩゛ 阅读(102) 评论(0) 推荐(0) 编辑
摘要: import Cookies from 'js-cookie' const TokenKey = '你的token设置的名称' export function getToken () { return Cookies.get(TokenKey) } export function setToken 阅读全文
posted @ 2020-09-24 16:20 江浩゛ 阅读(539) 评论(0) 推荐(0) 编辑
摘要: html: <div class="pagination-panel"> <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="index" :page- 阅读全文
posted @ 2020-09-24 16:16 江浩゛ 阅读(1207) 评论(0) 推荐(0) 编辑