From 462bf878ca9ea3de8c7f27a13a17f88e0ce028f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BC=9F=E5=BA=9A?= Date: Sun, 25 Jun 2023 16:42:11 +0800 Subject: [PATCH] =?UTF-8?q?::v-deep=E6=89=B9=E9=87=8F=E6=9B=B4=E6=8D=A2?= =?UTF-8?q?=E4=B8=BA:deep()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/main/config/accessRule/add/index.vue | 38 ++++--------------- .../main/config/accessRule/edit/index.vue | 38 ++++--------------- .../system-admin/visit-control/add/index.vue | 38 ++++--------------- .../system-admin/visit-control/edit/index.vue | 38 ++++--------------- 4 files changed, 32 insertions(+), 120 deletions(-) diff --git a/src/page/main/config/accessRule/add/index.vue b/src/page/main/config/accessRule/add/index.vue index 5b2a902..e2f8002 100644 --- a/src/page/main/config/accessRule/add/index.vue +++ b/src/page/main/config/accessRule/add/index.vue @@ -4,12 +4,7 @@
- +
@@ -30,29 +25,19 @@
- +
用户维护
- + @@ -67,11 +52,7 @@
- +
@@ -299,10 +280,7 @@ const getOrgTree = () => { }; const changePage = (page) => { state.pageConfig.page = page; - state.tableRows = state.selectedRows.slice( - (page - 1) * state.pageConfig.limit, - page * state.pageConfig.limit - ); + state.tableRows = state.selectedRows.slice((page - 1) * state.pageConfig.limit, page * state.pageConfig.limit); }; const changeSize = (size) => { @@ -392,7 +370,7 @@ const submit = () => { height: 100%; padding-left: 40px; .el-form { - ::v-deep .el-form-item { + :deep() .el-form-item { display: block; margin-bottom: 24px; width: 60%; @@ -435,7 +413,7 @@ const submit = () => { } } - ::v-deep .dialog_box_maintain { + :deep() .dialog_box_maintain { .el-dialog__body { padding: 0 0 70px 0; height: 630px; diff --git a/src/page/main/config/accessRule/edit/index.vue b/src/page/main/config/accessRule/edit/index.vue index 43f7c2e..8322df2 100644 --- a/src/page/main/config/accessRule/edit/index.vue +++ b/src/page/main/config/accessRule/edit/index.vue @@ -4,12 +4,7 @@
- +
@@ -30,29 +25,19 @@
- +
用户维护
- + @@ -67,11 +52,7 @@
- +
@@ -312,10 +293,7 @@ const getOrgTree = () => { }; const changePage = (page) => { state.pageConfig.page = page; - state.tableRows = state.selectedRows.slice( - (page - 1) * state.pageConfig.limit, - page * state.pageConfig.limit - ); + state.tableRows = state.selectedRows.slice((page - 1) * state.pageConfig.limit, page * state.pageConfig.limit); }; const changeSize = (size) => { @@ -427,7 +405,7 @@ const submit = () => { height: 100%; padding-left: 40px; .el-form { - ::v-deep .el-form-item { + :deep() .el-form-item { display: block; margin-bottom: 24px; width: 60%; @@ -470,7 +448,7 @@ const submit = () => { } } - ::v-deep .dialog_box_maintain { + :deep() .dialog_box_maintain { .el-dialog__body { padding: 0 0 70px 0; height: 630px; diff --git a/src/page/main/system-admin/visit-control/add/index.vue b/src/page/main/system-admin/visit-control/add/index.vue index 5b2a902..e2f8002 100644 --- a/src/page/main/system-admin/visit-control/add/index.vue +++ b/src/page/main/system-admin/visit-control/add/index.vue @@ -4,12 +4,7 @@
- +
@@ -30,29 +25,19 @@
- +
用户维护
- + @@ -67,11 +52,7 @@
- +
@@ -299,10 +280,7 @@ const getOrgTree = () => { }; const changePage = (page) => { state.pageConfig.page = page; - state.tableRows = state.selectedRows.slice( - (page - 1) * state.pageConfig.limit, - page * state.pageConfig.limit - ); + state.tableRows = state.selectedRows.slice((page - 1) * state.pageConfig.limit, page * state.pageConfig.limit); }; const changeSize = (size) => { @@ -392,7 +370,7 @@ const submit = () => { height: 100%; padding-left: 40px; .el-form { - ::v-deep .el-form-item { + :deep() .el-form-item { display: block; margin-bottom: 24px; width: 60%; @@ -435,7 +413,7 @@ const submit = () => { } } - ::v-deep .dialog_box_maintain { + :deep() .dialog_box_maintain { .el-dialog__body { padding: 0 0 70px 0; height: 630px; diff --git a/src/page/main/system-admin/visit-control/edit/index.vue b/src/page/main/system-admin/visit-control/edit/index.vue index 43f7c2e..8322df2 100644 --- a/src/page/main/system-admin/visit-control/edit/index.vue +++ b/src/page/main/system-admin/visit-control/edit/index.vue @@ -4,12 +4,7 @@
- +
@@ -30,29 +25,19 @@
- +
用户维护
- + @@ -67,11 +52,7 @@
- +
@@ -312,10 +293,7 @@ const getOrgTree = () => { }; const changePage = (page) => { state.pageConfig.page = page; - state.tableRows = state.selectedRows.slice( - (page - 1) * state.pageConfig.limit, - page * state.pageConfig.limit - ); + state.tableRows = state.selectedRows.slice((page - 1) * state.pageConfig.limit, page * state.pageConfig.limit); }; const changeSize = (size) => { @@ -427,7 +405,7 @@ const submit = () => { height: 100%; padding-left: 40px; .el-form { - ::v-deep .el-form-item { + :deep() .el-form-item { display: block; margin-bottom: 24px; width: 60%; @@ -470,7 +448,7 @@ const submit = () => { } } - ::v-deep .dialog_box_maintain { + :deep() .dialog_box_maintain { .el-dialog__body { padding: 0 0 70px 0; height: 630px; -- 2.26.0