diff --git a/web/index.html b/web/index.html index d3f04e1..e322d76 100644 --- a/web/index.html +++ b/web/index.html @@ -48,38 +48,7 @@ let amis = amisRequire('amis/embed') let amisJSON = { type: 'page', - title: { - type: 'service', - api: { - method: 'get', - url: '${base}/cloud/heart', - replaceData: true, - adaptor: function (payload, response) { - if (response.status !== 200) { - return { - ...payload, - data: { - status: false - } - } - } - return payload - } - }, - interval: 5000, - silentPolling: true, - body: [ - { - type: 'tpl', - tpl: "Hudi 服务总台", - }, - { - type: 'status', - className: 'ml-1', - value: '${status}', - } - ], - }, + title: 'Hudi 服务总台', subTitle: 'Hudi 全链路服务监控和控制台', body: { type: 'tabs',