mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-03-01 16:16:18 +08:00
修正提示栏遮挡问题
This commit is contained in:
parent
aa4545382d
commit
6be4ec145c
@ -46,7 +46,6 @@
|
||||
<br/>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 PanelItemF">
|
||||
<p>请务必检查是否符合格式,条件,仔细检查后即可确认修改,或者直接返回到其他页面直接舍弃修改。</p>
|
||||
<div class="PanelItem" v-on:click="toBackConsole()">
|
||||
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span> 返回到控制台
|
||||
</div>
|
||||
@ -56,6 +55,9 @@
|
||||
<div class="PanelItem" v-on:click="re()">
|
||||
<span class="glyphicon glyphicon-repeat" aria-hidden="true"></span> 重新刷新读取
|
||||
</div>
|
||||
<hr>
|
||||
<p>最后,请检查是否符合格式,条件,仔细检查后即可确认修改,或者直接返回到其他页面直接舍弃修改。</p>
|
||||
<p>如果显示不全或不是最新,您可以单击 [重新刷新读取] 来进行获取更新,设置完毕请重启服务器。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -68,16 +70,15 @@
|
||||
|
||||
<script src="./common/js/properties.js"></script>
|
||||
<script>
|
||||
MI.rListener('onload', function() {
|
||||
console.log('页面开始')
|
||||
//自動調整菜單
|
||||
MI.rListener('onload', function () {
|
||||
console.log('页面开始');
|
||||
MCSERVER.autoColmDo();
|
||||
|
||||
VIEW_MODEL.newVue('ServerProperties', {
|
||||
el: '#ServerProperties',
|
||||
methods: {
|
||||
toUpdateProperties: function() {
|
||||
if(!this.properties) return;
|
||||
toUpdateProperties: function () {
|
||||
if (!this.properties) return;
|
||||
var obj = {
|
||||
serverName: this.serverName,
|
||||
properties: this.properties
|
||||
@ -85,24 +86,24 @@
|
||||
console.log(this.properties)
|
||||
WS.sendMsg('server/properties_update', JSON.stringify(obj));
|
||||
},
|
||||
toBackConsole: function() {
|
||||
toBackConsole: function () {
|
||||
console.log('---- 返回控制台 ---- ')
|
||||
RES.redirectPage('./template/component/console.html', 'server/console', this.serverName);
|
||||
},
|
||||
re: function() {
|
||||
re: function () {
|
||||
RES.redirectPage('./template/component/properties.html', 'server/properties', this.serverName);
|
||||
},
|
||||
toUpdatePropertiesFormFile: function() {
|
||||
toUpdatePropertiesFormFile: function () {
|
||||
WS.sendMsg('server/properties_update_reload', this.serverName);
|
||||
},
|
||||
findProperties: function(key) {
|
||||
findProperties: function (key) {
|
||||
return MCSERVER.findPropertiesShow(key)
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
MI.rListener('onend', function() {
|
||||
MI.rListener('onend', function () {
|
||||
VIEW_MODEL['ServerProperties'] = null;
|
||||
console.log('页面关闭')
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user