diff --git a/frontend/src/components/canvas/components/Toolbar.vue b/frontend/src/components/canvas/components/Toolbar.vue
index ba47aeebba..44096977d0 100644
--- a/frontend/src/components/canvas/components/Toolbar.vue
+++ b/frontend/src/components/canvas/components/Toolbar.vue
@@ -74,7 +74,7 @@
{{ $t('panel.aided_grid') }}
-
+
@@ -600,10 +600,14 @@ export default {
::v-deep .el-switch__core::after {
width: 14px;
height: 14px;
- margin-top: -1px;
+ margin-top: -1.3px;
margin-bottom: 2px;
}
+.grid-active ::v-deep .el-switch__core::after {
+ margin-left: -14.5px;
+}
+
.iconfont-tb {
font-family: "iconfont" !important;
font-size: 12px;