From 20f483f561aab3ea0697ffc12132ac3fc5193aa3 Mon Sep 17 00:00:00 2001
From: shizhong <124974919@qq.com>
Date: Fri, 22 Sep 2023 12:49:25 +0800
Subject: [PATCH 1/4] refactor: vue3.3 defineOptions
---
src/App.vue | 4 +++-
src/components/Backtop/src/Backtop.vue | 4 +++-
src/components/ConfigGlobal/src/ConfigGlobal.vue | 4 +++-
src/components/ContentDetailWrap/src/ContentDetailWrap.vue | 4 +++-
src/components/ContentWrap/src/ContentWrap.vue | 4 +++-
src/components/CountTo/src/CountTo.vue | 4 +++-
src/components/Crontab/src/Crontab.vue | 4 +++-
src/components/Cropper/src/CopperModal.vue | 4 +++-
src/components/Cropper/src/Cropper.vue | 4 +++-
src/components/Cropper/src/CropperAvatar.vue | 4 +++-
src/components/Descriptions/src/Descriptions.vue | 4 +++-
src/components/Dialog/src/Dialog.vue | 4 +++-
src/components/DocAlert/index.vue | 4 +++-
src/components/Echart/src/Echart.vue | 4 +++-
src/components/Editor/src/Editor.vue | 4 +++-
src/components/Error/src/Error.vue | 4 +++-
src/components/IFrame/src/IFrame.vue | 4 +++-
src/components/Icon/src/Icon.vue | 4 +++-
src/components/Icon/src/IconSelect.vue | 4 +++-
src/components/ImageViewer/src/ImageViewer.vue | 4 +++-
src/components/Infotip/src/Infotip.vue | 4 +++-
src/components/InputPassword/src/InputPassword.vue | 4 +++-
src/components/Qrcode/src/Qrcode.vue | 4 +++-
src/components/Search/src/Search.vue | 4 +++-
src/components/Sticky/src/Sticky.vue | 4 +++-
src/components/Tooltip/src/Tooltip.vue | 4 +++-
src/components/UploadFile/src/UploadFile.vue | 4 +++-
src/components/UploadFile/src/UploadImg.vue | 4 +++-
src/components/UploadFile/src/UploadImgs.vue | 4 +++-
src/components/Verifition/src/Verify/VerifyPoints.vue | 4 +++-
src/components/Verifition/src/Verify/VerifySlide.vue | 4 +++-
src/components/XButton/src/XButton.vue | 4 +++-
src/components/XButton/src/XTextButton.vue | 4 +++-
src/components/XModal/src/XModal.vue | 3 +++
src/components/XTable/src/XTable.vue | 4 +++-
.../bpmnProcessDesigner/package/designer/ProcessDesigner.vue | 5 ++++-
.../bpmnProcessDesigner/package/designer/ProcessViewer.vue | 5 ++++-
.../bpmnProcessDesigner/package/palette/ProcessPalette.vue | 4 +++-
.../bpmnProcessDesigner/package/penal/PropertiesPanel.vue | 5 ++++-
.../package/penal/base/ElementBaseInfo.vue | 4 +++-
.../package/penal/flow-condition/FlowCondition.vue | 4 +++-
.../bpmnProcessDesigner/package/penal/form/ElementForm.vue | 4 +++-
.../package/penal/listeners/ElementListeners.vue | 5 ++++-
.../package/penal/listeners/UserTaskListeners.vue | 5 ++++-
.../package/penal/multi-instance/ElementMultiInstance.vue | 4 +++-
.../package/penal/other/ElementOtherConfig.vue | 4 +++-
.../package/penal/properties/ElementProperties.vue | 5 ++++-
.../package/penal/signal-message/SignalAndMessage.vue | 4 +++-
.../bpmnProcessDesigner/package/penal/task/ElementTask.vue | 4 +++-
.../package/penal/task/task-components/ReceiveTask.vue | 4 +++-
.../package/penal/task/task-components/ScriptTask.vue | 4 +++-
.../package/penal/task/task-components/UserTask.vue | 4 +++-
src/layout/components/AppView.vue | 4 +++-
src/layout/components/Collapse/src/Collapse.vue | 4 +++-
src/layout/components/ContextMenu/src/ContextMenu.vue | 4 +++-
src/layout/components/LocaleDropdown/src/LocaleDropdown.vue | 4 +++-
src/layout/components/Logo/src/Logo.vue | 4 +++-
src/layout/components/Message/src/Message.vue | 4 +++-
src/layout/components/Screenfull/src/Screenfull.vue | 4 +++-
src/layout/components/Setting/src/Setting.vue | 4 +++-
.../components/Setting/src/components/ColorRadioPicker.vue | 4 +++-
.../components/Setting/src/components/InterfaceDisplay.vue | 4 +++-
.../components/Setting/src/components/LayoutRadioPicker.vue | 4 +++-
src/layout/components/SizeDropdown/src/SizeDropdown.vue | 4 +++-
src/layout/components/TagsView/src/TagsView.vue | 4 +++-
src/layout/components/ThemeSwitch/src/ThemeSwitch.vue | 4 +++-
src/layout/components/UserInfo/src/UserInfo.vue | 4 +++-
src/views/Home/Index.vue | 4 +++-
src/views/Home/Index2.vue | 4 +++-
src/views/Login/Login.vue | 4 +++-
src/views/Login/components/LoginForm.vue | 4 +++-
src/views/Login/components/LoginFormTitle.vue | 4 +++-
src/views/Login/components/MobileForm.vue | 4 +++-
src/views/Login/components/QrCodeForm.vue | 4 +++-
src/views/Login/components/RegisterForm.vue | 4 +++-
src/views/Login/components/SSOLogin.vue | 5 ++++-
src/views/Profile/Index.vue | 5 ++++-
src/views/Profile/components/BasicInfo.vue | 4 +++-
src/views/Profile/components/ProfileUser.vue | 4 +++-
src/views/Profile/components/ResetPwd.vue | 4 +++-
src/views/Profile/components/UserAvatar.vue | 4 +++-
src/views/Profile/components/UserSocial.vue | 4 +++-
src/views/Redirect/Redirect.vue | 5 ++++-
src/views/bpm/definition/index.vue | 4 +++-
src/views/bpm/form/formEditor.vue | 4 +++-
src/views/bpm/form/index.vue | 4 +++-
src/views/bpm/group/UserGroupForm.vue | 4 +++-
src/views/bpm/group/index.vue | 4 +++-
src/views/bpm/model/index.vue | 4 +++-
src/views/bpm/model/modelEditor.vue | 4 +++-
src/views/bpm/oa/leave/create.vue | 4 +++-
src/views/bpm/oa/leave/detail.vue | 5 ++++-
src/views/bpm/oa/leave/index.vue | 4 +++-
src/views/bpm/processInstance/create.vue | 4 +++-
src/views/bpm/processInstance/detail.vue | 4 +++-
.../bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue | 4 +++-
src/views/bpm/processInstance/index.vue | 4 +++-
src/views/bpm/task/done/index.vue | 4 +++-
src/views/bpm/task/todo/index.vue | 4 +++-
src/views/bpm/taskAssignRule/index.vue | 4 +++-
src/views/infra/apiAccessLog/index.vue | 4 +++-
src/views/infra/apiErrorLog/index.vue | 4 +++-
src/views/infra/build/index.vue | 4 +++-
src/views/infra/codegen/index.vue | 4 +++-
src/views/infra/config/index.vue | 4 +++-
src/views/infra/dataSourceConfig/index.vue | 4 +++-
src/views/infra/dbDoc/index.vue | 4 +++-
src/views/infra/druid/index.vue | 4 +++-
src/views/infra/file/index.vue | 4 +++-
src/views/infra/fileConfig/index.vue | 4 +++-
src/views/infra/job/JobLog.vue | 4 +++-
src/views/infra/job/index.vue | 4 +++-
src/views/infra/redis/index.vue | 5 ++++-
src/views/infra/server/index.vue | 4 +++-
src/views/infra/skywalking/index.vue | 4 +++-
src/views/infra/swagger/index.vue | 4 +++-
src/views/infra/testDemo/index.vue | 4 +++-
src/views/infra/webSocket/index.vue | 4 +++-
src/views/mall/product/brand/BrandForm.vue | 5 ++++-
src/views/mall/product/brand/index.vue | 5 ++++-
src/views/mall/product/category/CategoryForm.vue | 3 +++
src/views/mall/product/category/index.vue | 5 ++++-
src/views/mall/product/property/PropertyForm.vue | 4 +++-
src/views/mall/product/property/index.vue | 4 +++-
src/views/mall/product/property/value/ValueForm.vue | 4 +++-
src/views/mall/product/property/value/index.vue | 5 ++++-
src/views/mall/product/spu/form/ProductAttributes.vue | 4 +++-
src/views/mall/promotion/combination/record/index.vue | 4 +++-
src/views/mall/promotion/coupon/index.vue | 2 +-
.../mall/promotion/seckill/config/SeckillConfigForm.vue | 4 +++-
src/views/mall/promotion/seckill/config/index.vue | 4 +++-
src/views/mall/trade/delivery/express/ExpressForm.vue | 5 ++++-
src/views/mall/trade/delivery/express/index.vue | 5 ++++-
src/views/mall/trade/delivery/pickUpStore/index.vue | 4 +++-
src/views/member/tag/index.vue | 5 ++++-
src/views/mp/account/AccountForm.vue | 4 +++-
src/views/mp/account/index.vue | 4 +++-
src/views/mp/autoReply/components/ReplyForm.vue | 4 +++-
src/views/mp/autoReply/index.vue | 5 ++++-
src/views/mp/components/wx-account-select/main.vue | 4 +++-
src/views/mp/components/wx-location/main.vue | 4 +++-
src/views/mp/components/wx-material-select/main.vue | 4 +++-
src/views/mp/components/wx-msg/components/Msg.vue | 4 +++-
src/views/mp/components/wx-msg/components/MsgList.vue | 4 +++-
src/views/mp/components/wx-msg/main.vue | 4 +++-
src/views/mp/components/wx-music/main.vue | 4 +++-
src/views/mp/components/wx-news/main.vue | 4 +++-
src/views/mp/components/wx-reply/main.vue | 4 +++-
src/views/mp/components/wx-video-play/main.vue | 4 +++-
src/views/mp/components/wx-voice-play/main.vue | 4 +++-
src/views/mp/draft/components/NewsForm.vue | 4 +++-
src/views/mp/draft/index.vue | 4 +++-
src/views/mp/freePublish/index.vue | 5 ++++-
src/views/mp/material/index.vue | 5 ++++-
src/views/mp/menu/index.vue | 4 +++-
src/views/mp/message/index.vue | 4 +++-
src/views/mp/statistics/index.vue | 5 ++++-
src/views/mp/tag/TagForm.vue | 4 +++-
src/views/mp/tag/index.vue | 4 +++-
src/views/mp/user/UserForm.vue | 4 +++-
src/views/mp/user/index.vue | 4 +++-
src/views/pay/demo/index.vue | 4 +++-
src/views/report/goview/index.vue | 4 +++-
src/views/report/jmreport/index.vue | 4 +++-
src/views/system/area/index.vue | 5 ++++-
src/views/system/dept/index.vue | 4 +++-
src/views/system/dict/index.vue | 4 +++-
src/views/system/errorCode/index.vue | 4 +++-
src/views/system/loginlog/index.vue | 4 +++-
src/views/system/mail/account/index.vue | 4 +++-
src/views/system/mail/log/index.vue | 4 +++-
src/views/system/mail/template/index.vue | 4 +++-
src/views/system/menu/index.vue | 4 +++-
src/views/system/notice/index.vue | 4 +++-
src/views/system/notify/message/index.vue | 4 +++-
src/views/system/notify/my/index.vue | 4 +++-
src/views/system/notify/template/index.vue | 4 +++-
src/views/system/oauth2/client/index.vue | 4 +++-
src/views/system/oauth2/token/index.vue | 4 +++-
src/views/system/operatelog/index.vue | 4 +++-
src/views/system/post/index.vue | 4 +++-
src/views/system/role/index.vue | 4 +++-
src/views/system/sensitiveWord/index.vue | 4 +++-
src/views/system/sms/channel/index.vue | 4 +++-
src/views/system/sms/log/index.vue | 5 ++++-
src/views/system/sms/template/index.vue | 4 +++-
src/views/system/tenant/index.vue | 4 +++-
src/views/system/tenantPackage/index.vue | 4 +++-
src/views/system/user/index.vue | 4 +++-
189 files changed, 589 insertions(+), 187 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 500a2d6d..7407d97a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,10 +1,12 @@
-
+
diff --git a/src/views/infra/webSocket/index.vue b/src/views/infra/webSocket/index.vue
index 71f32c06..7383284f 100644
--- a/src/views/infra/webSocket/index.vue
+++ b/src/views/infra/webSocket/index.vue
@@ -55,11 +55,13 @@
-
+
diff --git a/src/views/mall/promotion/coupon/index.vue b/src/views/mall/promotion/coupon/index.vue
index 9f81edf2..eed7cb24 100755
--- a/src/views/mall/promotion/coupon/index.vue
+++ b/src/views/mall/promotion/coupon/index.vue
@@ -105,7 +105,7 @@
-
diff --git a/src/views/report/jmreport/index.vue b/src/views/report/jmreport/index.vue
index bae999f4..90e68a62 100644
--- a/src/views/report/jmreport/index.vue
+++ b/src/views/report/jmreport/index.vue
@@ -3,9 +3,11 @@
-
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index 5be4dd8e..0d333293 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -37,11 +37,14 @@
-
diff --git a/src/components/Icon/src/IconSelect.vue b/src/components/Icon/src/IconSelect.vue
index f23130b1..d6ae6e65 100644
--- a/src/components/Icon/src/IconSelect.vue
+++ b/src/components/Icon/src/IconSelect.vue
@@ -191,10 +191,10 @@ watch(
.icon-item {
&:hover {
- border-color: var(--el-color-primary);
color: var(--el-color-primary);
- transition: all 0.4s;
+ border-color: var(--el-color-primary);
transform: scaleX(1.05);
+ transition: all 0.4s;
}
}
@@ -215,15 +215,15 @@ watch(
}
:deep(.el-tabs__item) {
+ height: 30px;
font-size: 12px;
font-weight: normal;
- height: 30px;
line-height: 30px;
}
:deep(.el-tabs__header),
:deep(.el-tabs__nav-wrap) {
- margin: 0;
position: static;
+ margin: 0;
}
diff --git a/src/components/InputPassword/src/InputPassword.vue b/src/components/InputPassword/src/InputPassword.vue
index 3a8ac35d..f9703694 100644
--- a/src/components/InputPassword/src/InputPassword.vue
+++ b/src/components/InputPassword/src/InputPassword.vue
@@ -96,7 +96,7 @@ $prefix-cls: #{$namespace}-input-password;
background-color: transparent;
border-color: var(--el-color-white);
border-style: solid;
- border-width: 0 5px 0 5px;
+ border-width: 0 5px;
content: '';
}
diff --git a/src/components/Qrcode/src/Qrcode.vue b/src/components/Qrcode/src/Qrcode.vue
index 4e31e76b..337bc786 100644
--- a/src/components/Qrcode/src/Qrcode.vue
+++ b/src/components/Qrcode/src/Qrcode.vue
@@ -243,7 +243,7 @@ $prefix-cls: #{$namespace}-qrcode;
.#{$prefix-cls} {
&--disabled {
- background: rgba(255, 255, 255, 0.95);
+ background: rgb(255 255 255 / 95%);
& > div {
transform: translate(-50%, -50%);
diff --git a/src/components/UploadFile/src/UploadFile.vue b/src/components/UploadFile/src/UploadFile.vue
index 9dcc11fb..0579baf4 100644
--- a/src/components/UploadFile/src/UploadFile.vue
+++ b/src/components/UploadFile/src/UploadFile.vue
@@ -145,21 +145,25 @@ const listToString = (list: UploadUserFile[], separator?: string) => {
.upload-file-uploader {
margin-bottom: 5px;
}
+
:deep(.upload-file-list .el-upload-list__item) {
border: 1px solid #e4e7ed;
line-height: 2;
margin-bottom: 10px;
position: relative;
}
+
:deep(.el-upload-list__item-file-name) {
max-width: 250px;
}
+
:deep(.upload-file-list .ele-upload-list__item-content) {
display: flex;
justify-content: space-between;
align-items: center;
color: inherit;
}
+
:deep(.ele-upload-list__item-content-action .el-link) {
margin-right: 10px;
}
diff --git a/src/components/UploadFile/src/UploadImg.vue b/src/components/UploadFile/src/UploadImg.vue
index d04e2a77..05339d18 100644
--- a/src/components/UploadFile/src/UploadImg.vue
+++ b/src/components/UploadFile/src/UploadImg.vue
@@ -81,7 +81,7 @@ const props = defineProps({
fileType: propTypes.array.def(['image/jpeg', 'image/png', 'image/gif']), // 图片类型限制 ==> 非必传(默认为 ["image/jpeg", "image/png", "image/gif"])
height: propTypes.string.def('150px'), // 组件高度 ==> 非必传(默认为 150px)
width: propTypes.string.def('150px'), // 组件宽度 ==> 非必传(默认为 150px)
- borderRadius: propTypes.string.def('8px') // 组件边框圆角 ==> 非必传(默认为 8px)
+ borderradius: propTypes.string.def('8px') // 组件边框圆角 ==> 非必传(默认为 8px)
})
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗
@@ -132,29 +132,34 @@ const uploadError = () => {
:deep(.el-upload),
:deep(.el-upload-dragger) {
border: 1px dashed var(--el-color-danger) !important;
+
&:hover {
border-color: var(--el-color-primary) !important;
}
}
}
}
+
:deep(.disabled) {
.el-upload,
.el-upload-dragger {
cursor: not-allowed !important;
background: var(--el-disabled-bg-color);
border: 1px dashed var(--el-border-color-darker) !important;
+
&:hover {
border: 1px dashed var(--el-border-color-darker) !important;
}
}
}
+
.upload-box {
.no-border {
:deep(.el-upload) {
border: none !important;
}
}
+
:deep(.upload) {
.el-upload {
position: relative;
@@ -165,14 +170,17 @@ const uploadError = () => {
height: v-bind(height);
overflow: hidden;
border: 1px dashed var(--el-border-color-darker);
- border-radius: v-bind(borderRadius);
+ border-radius: v-bind(borderradius);
transition: var(--el-transition-duration-fast);
+
&:hover {
border-color: var(--el-color-primary);
+
.upload-handle {
opacity: 1;
}
}
+
.el-upload-dragger {
display: flex;
align-items: center;
@@ -183,20 +191,24 @@ const uploadError = () => {
overflow: hidden;
background-color: transparent;
border: 1px dashed var(--el-border-color-darker);
- border-radius: v-bind(borderRadius);
+ border-radius: v-bind(borderradius);
+
&:hover {
border: 1px dashed var(--el-color-primary);
}
}
+
.el-upload-dragger.is-dragover {
background-color: var(--el-color-primary-light-9);
border: 2px dashed var(--el-color-primary) !important;
}
+
.upload-image {
width: 100%;
height: 100%;
object-fit: contain;
}
+
.upload-empty {
position: relative;
display: flex;
@@ -206,11 +218,13 @@ const uploadError = () => {
font-size: 12px;
line-height: 30px;
color: var(--el-color-info);
+
.el-icon {
font-size: 28px;
color: var(--el-text-color-secondary);
}
}
+
.upload-handle {
position: absolute;
top: 0;
@@ -225,6 +239,7 @@ const uploadError = () => {
background: rgb(0 0 0 / 60%);
opacity: 0;
transition: var(--el-transition-duration-fast);
+
.handle-icon {
display: flex;
flex-direction: column;
@@ -232,11 +247,13 @@ const uploadError = () => {
justify-content: center;
padding: 0 6%;
color: aliceblue;
+
.el-icon {
margin-bottom: 40%;
font-size: 130%;
line-height: 130%;
}
+
span {
font-size: 85%;
line-height: 85%;
@@ -245,6 +262,7 @@ const uploadError = () => {
}
}
}
+
.el-upload__tip {
line-height: 18px;
text-align: center;
diff --git a/src/components/UploadFile/src/UploadImgs.vue b/src/components/UploadFile/src/UploadImgs.vue
index ab1c8788..bfa75372 100644
--- a/src/components/UploadFile/src/UploadImgs.vue
+++ b/src/components/UploadFile/src/UploadImgs.vue
@@ -82,7 +82,7 @@ const props = defineProps({
fileType: propTypes.array.def(['image/jpeg', 'image/png', 'image/gif']), // 图片类型限制 ==> 非必传(默认为 ["image/jpeg", "image/png", "image/gif"])
height: propTypes.string.def('150px'), // 组件高度 ==> 非必传(默认为 150px)
width: propTypes.string.def('150px'), // 组件宽度 ==> 非必传(默认为 150px)
- borderRadius: propTypes.string.def('8px') // 组件边框圆角 ==> 非必传(默认为 8px)
+ borderradius: propTypes.string.def('8px') // 组件边框圆角 ==> 非必传(默认为 8px)
})
const uploadHeaders = ref({
@@ -90,7 +90,7 @@ const uploadHeaders = ref({
'tenant-id': getTenantId()
})
-const fileList = ref()
+const fileList = ref([])
// fix: 改为动态监听赋值解决图片回显问题
watch(
() => props.modelValue,
@@ -218,7 +218,7 @@ const handlePictureCardPreview: UploadProps['onPreview'] = (uploadFile) => {
padding: 0;
overflow: hidden;
border: 1px dashed var(--el-border-color-darker);
- border-radius: v-bind(borderRadius);
+ border-radius: v-bind(borderradius);
&:hover {
border: 1px dashed var(--el-color-primary);
@@ -235,7 +235,7 @@ const handlePictureCardPreview: UploadProps['onPreview'] = (uploadFile) => {
width: v-bind(width);
height: v-bind(height);
background-color: transparent;
- border-radius: v-bind(borderRadius);
+ border-radius: v-bind(borderradius);
}
.upload-image {
diff --git a/src/components/Verifition/src/Verify.vue b/src/components/Verifition/src/Verify.vue
index 861ed163..02bcf86f 100644
--- a/src/components/Verifition/src/Verify.vue
+++ b/src/components/Verifition/src/Verify.vue
@@ -31,7 +31,7 @@
-
diff --git a/src/views/Error/404.vue b/src/views/Error/404.vue
index c55d3325..fafb0e32 100644
--- a/src/views/Error/404.vue
+++ b/src/views/Error/404.vue
@@ -1,6 +1,8 @@
-
diff --git a/src/views/Error/500.vue b/src/views/Error/500.vue
index 6cfe47b7..d1402d8b 100644
--- a/src/views/Error/500.vue
+++ b/src/views/Error/500.vue
@@ -1,6 +1,8 @@
-
diff --git a/src/views/Profile/components/BasicInfo.vue b/src/views/Profile/components/BasicInfo.vue
index c8b2f800..41a8ae51 100644
--- a/src/views/Profile/components/BasicInfo.vue
+++ b/src/views/Profile/components/BasicInfo.vue
@@ -14,8 +14,6 @@
diff --git a/src/components/UploadFile/src/UploadFile.vue b/src/components/UploadFile/src/UploadFile.vue
index b2a0f64f..c8a3b972 100644
--- a/src/components/UploadFile/src/UploadFile.vue
+++ b/src/components/UploadFile/src/UploadFile.vue
@@ -147,10 +147,10 @@ const listToString = (list: UploadUserFile[], separator?: string) => {
}
:deep(.upload-file-list .el-upload-list__item) {
- border: 1px solid #e4e7ed;
- line-height: 2;
- margin-bottom: 10px;
position: relative;
+ margin-bottom: 10px;
+ line-height: 2;
+ border: 1px solid #e4e7ed;
}
:deep(.el-upload-list__item-file-name) {
diff --git a/src/components/UploadFile/src/UploadImg.vue b/src/components/UploadFile/src/UploadImg.vue
index 5feb2610..3cfc0a73 100644
--- a/src/components/UploadFile/src/UploadImg.vue
+++ b/src/components/UploadFile/src/UploadImg.vue
@@ -229,16 +229,16 @@ const uploadError = () => {
position: absolute;
top: 0;
right: 0;
- box-sizing: border-box;
display: flex;
- align-items: center;
- justify-content: center;
width: 100%;
height: 100%;
cursor: pointer;
background: rgb(0 0 0 / 60%);
opacity: 0;
+ box-sizing: border-box;
transition: var(--el-transition-duration-fast);
+ align-items: center;
+ justify-content: center;
.handle-icon {
display: flex;
diff --git a/src/components/UploadFile/src/UploadImgs.vue b/src/components/UploadFile/src/UploadImgs.vue
index bfa75372..91bb5e31 100644
--- a/src/components/UploadFile/src/UploadImgs.vue
+++ b/src/components/UploadFile/src/UploadImgs.vue
@@ -248,16 +248,16 @@ const handlePictureCardPreview: UploadProps['onPreview'] = (uploadFile) => {
position: absolute;
top: 0;
right: 0;
- box-sizing: border-box;
display: flex;
- align-items: center;
- justify-content: center;
width: 100%;
height: 100%;
cursor: pointer;
background: rgb(0 0 0 / 60%);
opacity: 0;
+ box-sizing: border-box;
transition: var(--el-transition-duration-fast);
+ align-items: center;
+ justify-content: center;
.handle-icon {
display: flex;
diff --git a/src/components/Verifition/src/Verify.vue b/src/components/Verifition/src/Verify.vue
index 02bcf86f..b7b50486 100644
--- a/src/components/Verifition/src/Verify.vue
+++ b/src/components/Verifition/src/Verify.vue
@@ -145,23 +145,23 @@ export default {
diff --git a/src/components/Verifition/src/Verify/VerifyPoints.vue b/src/components/Verifition/src/Verify/VerifyPoints.vue
index b787bb22..888a023e 100644
--- a/src/components/Verifition/src/Verify/VerifyPoints.vue
+++ b/src/components/Verifition/src/Verify/VerifyPoints.vue
@@ -17,7 +17,7 @@
ref="canvas"
:src="'data:image/png;base64,' + pointBackImgBase"
alt=""
- style="width: 100%; height: 100%; display: block"
+ style="display: block; width: 100%; height: 100%"
@click="bindingClick ? canvasClick($event) : undefined"
/>
diff --git a/src/components/Verifition/src/Verify/VerifySlide.vue b/src/components/Verifition/src/Verify/VerifySlide.vue
index 361fe32e..16e32fc1 100644
--- a/src/components/Verifition/src/Verify/VerifySlide.vue
+++ b/src/components/Verifition/src/Verify/VerifySlide.vue
@@ -9,7 +9,7 @@
@@ -63,7 +63,7 @@
diff --git a/src/components/XButton/src/XButton.vue b/src/components/XButton/src/XButton.vue
index 5616a00e..40cba1ac 100644
--- a/src/components/XButton/src/XButton.vue
+++ b/src/components/XButton/src/XButton.vue
@@ -39,12 +39,12 @@ const getBindValue = computed(() => {
diff --git a/src/components/XButton/src/XTextButton.vue b/src/components/XButton/src/XTextButton.vue
index f1a979ef..b1a922b3 100644
--- a/src/components/XButton/src/XTextButton.vue
+++ b/src/components/XButton/src/XTextButton.vue
@@ -38,12 +38,12 @@ const getBindValue = computed(() => {
diff --git a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue
index f64f95ff..7fb00e60 100644
--- a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue
+++ b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue
@@ -1,6 +1,6 @@
-