Browse Source

调整弹窗边距

master
xh 5 days ago
parent
commit
0189245803
  1. 3
      web/src/components/Dialog/src/Dialog.vue
  2. 6
      web/src/views/gas/handdetector/index.vue

3
web/src/components/Dialog/src/Dialog.vue

@ -125,6 +125,7 @@ function closedHandler() {
<style lang="scss">
.com-dialog {
padding: 0 10px 10px;
.#{$elNamespace}-overlay-dialog {
display: flex;
justify-content: center;
@ -142,7 +143,7 @@ function closedHandler() {
}
&__body {
padding: 15px !important;
padding: 10px !important;
}
&__footer {

6
web/src/views/gas/handdetector/index.vue

@ -193,6 +193,12 @@ const resetQuery = () => {
/** 添加/修改操作 */
const formRef = ref()
const openForm = (type: string, id?: number) => {
if(fences.value.length === 0) {
getAllFences()
}
if(gasTypes.value.length === 0) {
getAllGasTypes()
}
formRef.value.open(type, id)
}

Loading…
Cancel
Save