This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
<!-- 操作按钮组 -->
|
||||
<div v-if="hasCardInfo" class="operation-button-group">
|
||||
<ElButton @click="handleRefresh" type="primary" :icon="Refresh"> 刷新 </ElButton>
|
||||
<ElButton @click="handleRefresh" type="primary" :icon="Refresh" :disabled="refreshDisabled"> 刷新 </ElButton>
|
||||
</div>
|
||||
</div>
|
||||
</ElCard>
|
||||
@@ -54,10 +54,12 @@
|
||||
// Props
|
||||
interface Props {
|
||||
hasCardInfo?: boolean
|
||||
refreshDisabled?: boolean
|
||||
}
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
hasCardInfo: false
|
||||
hasCardInfo: false,
|
||||
refreshDisabled: false
|
||||
})
|
||||
|
||||
// Emits
|
||||
|
||||
Reference in New Issue
Block a user