摘要: 需要额外引入地区的js文件 js 文件在你node—module的e-char包里就可以找到,json和js格式都有 <style lang="less"> .o-echarts { min-width: 30px; min-height: 30px; width: 100%; height: 10 阅读全文
posted @ 2021-06-10 10:38 嘿,你好! 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 在main.js注册 import has from './has'; 页面调用 v-has='某某' has.js内容 import Vue from 'vue' /**权限指令**/ const has = Vue.directive('has', { bind: function (el, b 阅读全文
posted @ 2021-06-10 10:36 嘿,你好! 阅读(591) 评论(0) 推荐(0) 编辑
摘要: function mapGeo(data) { var chart = echarts.init(document.getElementById('mapGeo')); var mapUrl = staticsUrl + '/js/echart-map/beijing.json'; $.get(ma 阅读全文
posted @ 2021-06-10 10:33 嘿,你好! 阅读(641) 评论(0) 推荐(0) 编辑