style: 调整对话框默认可拖拽,表格默认可调整列宽

This commit is contained in:
2024-05-30 21:43:52 +08:00
parent 4372103704
commit 5581d3fd89
13 changed files with 13 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
:mask-closable="false"
:esc-to-close="false"
:width="width >= 500 ? 500 : '100%'"
draggable
@before-ok="save"
@close="reset"
>

View File

@@ -56,7 +56,7 @@
<div class="footer">注册于 {{ userInfo.registrationDate }}</div>
</a-card>
<a-modal v-model:visible="visible" title="上传头像" :width="width >= 400 ? 400 : '100%'" :footer="false" @close="reset">
<a-modal v-model:visible="visible" title="上传头像" :width="width >= 400 ? 400 : '100%'" :footer="false" draggable @close="reset">
<a-row>
<a-col :span="14" style="width: 200px; height: 200px">
<VueCropper

View File

@@ -5,6 +5,7 @@
:mask-closable="false"
:esc-to-close="false"
:width="width >= 500 ? 500 : '100%'"
draggable
@before-ok="save"
@close="reset"
>