mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-27 06:59:54 +08:00
删除旧代码
This commit is contained in:
parent
7ebdada671
commit
6900f3e31a
@ -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;
|
||||
|
@ -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);
|
||||
// }
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user