mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-02-17 15:59:41 +08:00
新增 初始化 Info.json 警告
This commit is contained in:
parent
11b08d3c2d
commit
018f349f19
@ -24,7 +24,11 @@ module.exports.init = () => {
|
||||
};
|
||||
|
||||
module.exports.load = () => {
|
||||
dataModel.load();
|
||||
try {
|
||||
dataModel.load();
|
||||
} catch (error) {
|
||||
MCSERVER.error("初始化 core/info.json 文件失败,请删除此文件重启面板进行恢复", error);
|
||||
}
|
||||
counterMask = dataModel.counterData;
|
||||
if (dataModel.reloadMonth == undefined) dataModel.reloadMonth = new Date().getMonth() + 2; //下个月
|
||||
dataModel.save();
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
<link href="common/xterm.css" rel="stylesheet" />
|
||||
<script type="text/javascript" src="common/xterm.js"></script>
|
||||
|
||||
<link href="./favicon.ico" rel="shortcut icon" />
|
||||
<!--[if lt IE 9]>
|
||||
<div id="Not_" class="show-ui" style="height: 40px; background-color: rgb(221, 79, 67); text-align: center; line-height: 40px; color: white">
|
||||
|
Loading…
Reference in New Issue
Block a user