vue
我能做的就是尽量向诗靠拢
你很懒,还没有添加简介
展开
-
echarts 使用 time 时间轴
最少代码量表达: let myChart = this.$echarts.init(document.getElementById('myEcharts')); // 绘制图表 let option; option = { xAxis: { type: 'time', }, yAxis: { type: 'value', }, series: [ { type: 'line', data: [ [原创 2020-11-19 21:11:12 · 14945 阅读 · 0 评论 -
Vue echarts 入门
Vue使用 echarts 安装 npm install echarts --save 引入 main.js import echarts from 'echarts'; Vue.prototype.$echarts = echarts; 使用 注意: 必须制定宽度和高度,宽度可以是继承父元素 <template> <div id="main"> <div id="myEcharts" style="width:500px;height: 300转载 2020-11-19 20:53:51 · 380 阅读 · 0 评论 -
vue cli3跨域解决,几行搞定
创建 vue.config.js 与src同级创建 module.exports = { devServer: { port: 3000, proxy: { '/': { target: "http://localhost:8080", changeOrigin: tru...转载 2020-02-20 09:50:47 · 425 阅读 · 0 评论