This commit is contained in:
bwcx_jzy 2019-09-18 22:32:43 +08:00
parent dd6c17543c
commit 3dc7d77841
2 changed files with 10 additions and 5 deletions

View File

@ -6,10 +6,12 @@ import io.jpom.model.log.SystemMonitorLog;
import org.springframework.stereotype.Service;
/**
* @author bwcx_jzy
* @author Arno
* @date 2019/9/13
*/
@Service
public class DbSystemMonitorLogService extends BaseDbLogService<SystemMonitorLog> {
public DbSystemMonitorLogService() {
super(SystemMonitorLog.TABLE_NAME, SystemMonitorLog.class);
setKey("id");

View File

@ -270,10 +270,14 @@
},
series: series
};
if (!myEcharts) {
myEcharts = echarts.init(document.getElementById('echarts'));
try {
if (!myEcharts) {
myEcharts = echarts.init(document.getElementById('echarts'));
}
myEcharts.setOption(option);
} catch (e) {
console.error(e);
}
myEcharts.setOption(option);
}
function loadProcessList() {
@ -289,7 +293,6 @@
}
});
}
</script>
</html>