This commit is contained in:
ann 2023-06-16 16:20:10 +08:00
parent 109e553446
commit 3ed61a2a08
2 changed files with 25 additions and 21 deletions

View File

@ -82,7 +82,7 @@ export const constantRoutes = [
{ {
path: '/', path: '/',
hidden: true, hidden: true,
redirect: '/monitorSelect' redirect: '/monitorSelectBk'
}, },
{ {
path: '/monitorSelect', path: '/monitorSelect',

View File

@ -117,6 +117,8 @@ export default {
}, },
methods: { methods: {
submitInfoEdit() { submitInfoEdit() {
this.$refs.editInfoForm.validate((valid) => {
if (valid) {
const data = { const data = {
'templateId': '1', 'templateId': '1',
'clusterName': this.editInfoForm.clusterName, 'clusterName': this.editInfoForm.clusterName,
@ -142,6 +144,8 @@ export default {
this.$emit('getList') this.$emit('getList')
}) })
} }
})
}
} }
} }
</script> </script>