layui选项卡-内容为echarts图显示不全的问题

时间:2018-04-11 14:27:21   收藏:0   阅读:1485
技术分享图片
var width = $("威胁类型ID").width();
var height = $("威胁类型ID").height();

$("#威胁来源ID").css("width", width).css("height", height);
var echart_threatDetail = echarts.init(document.getElementById("威胁来源ID"));

原文:https://www.cnblogs.com/zince/p/8794761.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!