diff --git a/extend/base/admin/view/system/host/index.html b/extend/base/admin/view/system/host/index.html index 146e27c..0b34cf8 100644 --- a/extend/base/admin/view/system/host/index.html +++ b/extend/base/admin/view/system/host/index.html @@ -2,12 +2,8 @@
diff --git a/extend/base/admin/view/system/host/index.js b/extend/base/admin/view/system/host/index.js index 61d5ac7..09a201d 100644 --- a/extend/base/admin/view/system/host/index.js +++ b/extend/base/admin/view/system/host/index.js @@ -21,8 +21,7 @@ $(function(){ {field: 'disk_free', title: '磁盘可用空间'}, {field: 'disk_total', title: '磁盘总空间'}, {field: 'create_time', title: '首次运行时间'}, - {width: 300, title: '操作', templet: ua.table.tool, operat: [ - 'edit', + {width: 200, title: '操作', templet: ua.table.tool, operat: [ [{ text: '设为主节点', url: init.set_master_url, @@ -36,8 +35,7 @@ $(function(){ _if: function(data) { return data.status == 1 && data.is_master != 1; } - }], - 'delete' + }] ], fixed:'right'}, ]],