删除旧代码

This commit is contained in:
suwings 2018-03-12 19:27:02 +08:00
parent 7ebdada671
commit 6900f3e31a
3 changed files with 1 additions and 18 deletions

View File

@ -30,12 +30,9 @@ TOOLS.charts.bulider = function (dom, len, config, callback, chartOption) {
myChart.setOption(option);
},
pushData: function (key, val) {
console.log('viewData:', viewData)
viewData = viewData.slice(1);
viewData.push(val);
option.series[0].data = viewData;
keyData = keyData.slice(1);
keyData.push(key);
option.xAxis[0].data = keyData;

View File

@ -72,20 +72,6 @@
//触发菜单选项点击事件
MI.on("SideMeumClick", null);
RES.redirectPage(link, api, 'update_page');
},
onMouse: function ($event, flag) {
// var $elem = $event.target;
// if (flag) {
// //进入
// $($elem).stop(true, true).animate({
// 'padding-left': '24px'
// }, 200);
// } else {
// //移出
// $($elem).stop(true, true).animate({
// 'padding-left': '20px'
// }, 200);
// }
}
}
});

View File

@ -75,7 +75,7 @@
</div>
<div id='SideColFor'>
<!--如果您想更改菜单名或功能,请查看 common/js/meum.js 文件-->
<a href="#" v-for="item of items" v-on:click="onRedirect(item.link,item.api)" v-on:mouseenter="onMouse($event,true)" v-on:mouseleave="onMouse($event,false)">
<a href="#" v-for="item of items" v-on:click="onRedirect(item.link,item.api)">
<span class="glyphicon " :class="item.class" aria-hidden="true"></span>
<span v-text="item.name"></span>
</a>