Quellcode durchsuchen

模型管理预览按钮样式

Alfyn vor 1 Monat
Ursprung
Commit
a0e7ae847d
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 4 4
      src/views/modelManage/modelCard.vue

+ 4 - 4
src/views/modelManage/modelCard.vue

@@ -60,11 +60,11 @@
       </template>
     </a-card-meta>
     <template #actions>
-      <a-button type="link" @click="type === 'modelList' ? preViewModel(modelItem.id) : preViewCombineModel(modelItem)">
-        <a-spin :spinning="modelSpinning">
+      <a-spin :spinning="modelSpinning">
+        <a-button type="link" @click="type === 'modelList' ? preViewModel(modelItem.id) : preViewCombineModel(modelItem)">
           {{ $t('doc.Preview') }}
-        </a-spin>
-      </a-button>
+        </a-button>
+      </a-spin>
       <a-button type="link" v-if="type === 'modelList'" @click="GotoDocument">{{ $t('model.GotoDocument') }} </a-button>
       <modelVersionModal v-if="type === 'modelList'" :modelItem="modelItem">
         <a-button type="link">