Browse Source

fix: 修复代码格式问题,调整组件属性顺序以保持一致性

laiqi 5 months ago
parent
commit
0f91ae7136
1 changed files with 4 additions and 4 deletions
  1. 4 4
      apps/web-ele/src/views/order-manage/detail.vue

+ 4 - 4
apps/web-ele/src/views/order-manage/detail.vue

@@ -169,7 +169,7 @@ const handleDeleteAttachment = async (attid: string, type: string) => {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         type: 'warning',
-      }
+      },
     );
 
     // 用户确认后执行删除
@@ -528,7 +528,7 @@ const isImageFile = (atttype: string) => {
                     class="absolute right-1 top-1 flex h-6 w-6 items-center justify-center rounded-full bg-red-500 text-white opacity-0 transition-opacity duration-200 group-hover:opacity-100"
                     @click.stop="handleDeleteAttachment(item.attid, 'buyer')"
                   >
-                    <X class="w-3 h-3" />
+                    <X class="h-3 w-3" />
                   </button>
                 </div>
               </div>
@@ -587,7 +587,7 @@ const isImageFile = (atttype: string) => {
                       handleDeleteAttachment(item.attid, 'certificate')
                     "
                   >
-                    <X class="w-3 h-3" />
+                    <X class="h-3 w-3" />
                   </button>
                 </div>
               </div>
@@ -654,7 +654,7 @@ const isImageFile = (atttype: string) => {
                     class="absolute right-1 top-1 flex h-6 w-6 items-center justify-center rounded-full bg-red-500 text-white opacity-0 transition-opacity duration-200 group-hover:opacity-100"
                     @click.stop="handleDeleteAttachment(item.attid, 'invoice')"
                   >
-                    <X class="w-3 h-3" />
+                    <X class="h-3 w-3" />
                   </button>
                 </div>
               </div>