mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-16 19:04:09 +00:00
Feature: Alert Settings
This commit is contained in:
parent
e17049b7bd
commit
89ff4ac19f
@ -30,7 +30,7 @@ const msg = {
|
|||||||
events: "Events",
|
events: "Events",
|
||||||
alerts: "Alerts",
|
alerts: "Alerts",
|
||||||
description: "Description",
|
description: "Description",
|
||||||
operate: "Action",
|
action: "Action",
|
||||||
createAAlert: "Create a alert",
|
createAAlert: "Create a alert",
|
||||||
alertSettings: "Alert setting",
|
alertSettings: "Alert setting",
|
||||||
settings: "Settings",
|
settings: "Settings",
|
||||||
|
@ -30,7 +30,7 @@ const msg = {
|
|||||||
// 警告
|
// 警告
|
||||||
alerts: "警告",
|
alerts: "警告",
|
||||||
description: "描述",
|
description: "描述",
|
||||||
operate: "操作",
|
action: "操作",
|
||||||
createAAlert: "创建告警",
|
createAAlert: "创建告警",
|
||||||
alertSettings: "告警设置",
|
alertSettings: "告警设置",
|
||||||
alertName: "警告名称",
|
alertName: "警告名称",
|
||||||
|
@ -35,7 +35,6 @@ limitations under the License. -->
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { reactive, watch } from "vue";
|
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import { useRoute } from "vue-router";
|
import { useRoute } from "vue-router";
|
||||||
import { ElButton, ElTable, ElTableColumn } from "element-plus";
|
import { ElButton, ElTable, ElTableColumn } from "element-plus";
|
||||||
@ -57,18 +56,6 @@ const tableData = [
|
|||||||
status: "Disable",
|
status: "Disable",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
const state = reactive({
|
|
||||||
path: route.meta.headPath,
|
|
||||||
});
|
|
||||||
watch(
|
|
||||||
() => route.meta.headPath,
|
|
||||||
(path: unknown) => {
|
|
||||||
if (!path) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
state.path = path;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.alert-name {
|
.alert-name {
|
||||||
|
@ -14,6 +14,3 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
export const TabsConfig: { [key: string]: any } = {
|
|
||||||
Settings: {},
|
|
||||||
};
|
|
||||||
|
Loading…
Reference in New Issue
Block a user