全局添加输入框空格校验

This commit is contained in:
GGJ
2024-12-25 10:53:07 +08:00
parent 90efcc4ad2
commit aed771578a
98 changed files with 703 additions and 904 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="default-main">
<el-tabs v-model="activeName" type="border-card" class="demo-tabs">
<el-tabs v-model.trim="activeName" type="border-card" class="demo-tabs">
<el-tab-pane label="设备告警" name="1">
<Device v-if="activeName == '1'" :deviceTree="deviceTree" />
</el-tab-pane>
@@ -44,8 +44,8 @@ getDeviceTree().then(res => {
})
deviceTree.value = res.data
})
onMounted(() => {})
onMounted(() => { })
const addMenu = () => {}
const addMenu = () => { }
</script>
<style></style>