diff --git a/web/public/js/components.src.js b/web/public/js/components.src.js
index 83de3e24..9d658a3d 100755
--- a/web/public/js/components.src.js
+++ b/web/public/js/components.src.js
@@ -11723,6 +11723,27 @@ Vue.component("http-access-log-search-box", {
`
})
+Vue.component("server-config-copy-link", {
+ props: ["v-server-id", "v-config-code"],
+ data: function () {
+ return {
+ serverId: this.vServerId,
+ configCode: this.vConfigCode
+ }
+ },
+ methods: {
+ copy: function () {
+ teaweb.popup("/servers/server/settings/copy?serverId=" + this.serverId + "&configCode=" + this.configCode, {
+ height: "25em",
+ callback: function () {
+ teaweb.success("复制成功")
+ }
+ })
+ }
+ },
+ template: `
复制 `
+})
+
// 显示指标对象名
Vue.component("metric-key-label", {
props: ["v-key"],
@@ -15054,7 +15075,7 @@ Vue.component("more-items-angle", {
return false
}
},
- template: `
`
+ template: `
切换`
})
/**