Feature: Alert Settings

This commit is contained in:
heyanlong 2021-12-30 13:51:28 +08:00
parent e17049b7bd
commit 89ff4ac19f
4 changed files with 2 additions and 18 deletions

View File

@ -30,7 +30,7 @@ const msg = {
events: "Events",
alerts: "Alerts",
description: "Description",
operate: "Action",
action: "Action",
createAAlert: "Create a alert",
alertSettings: "Alert setting",
settings: "Settings",

View File

@ -30,7 +30,7 @@ const msg = {
// 警告
alerts: "警告",
description: "描述",
operate: "操作",
action: "操作",
createAAlert: "创建告警",
alertSettings: "告警设置",
alertName: "警告名称",

View File

@ -35,7 +35,6 @@ limitations under the License. -->
</template>
<script lang="ts" setup>
import { reactive, watch } from "vue";
import { useI18n } from "vue-i18n";
import { useRoute } from "vue-router";
import { ElButton, ElTable, ElTableColumn } from "element-plus";
@ -57,18 +56,6 @@ const tableData = [
status: "Disable",
},
];
const state = reactive({
path: route.meta.headPath,
});
watch(
() => route.meta.headPath,
(path: unknown) => {
if (!path) {
return;
}
state.path = path;
}
);
</script>
<style lang="scss" scoped>
.alert-name {

View File

@ -14,6 +14,3 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const TabsConfig: { [key: string]: any } = {
Settings: {},
};