20261007220117

This commit is contained in:
oneao committed 2026-10-07 22:01:17 +08:00
1 parent 9217b3fa42
commit 8b1ec67609
275 files changed
+20026 -49299

No files matched your search

@@ -0,0 +1,20 @@
<script setup lang="ts">
import { ref } from 'vue'
import { G3Button } from '@g3soft/ui'
const loading = ref(false)
function handleAsync() {
if (loading.value) return
loading.value = true
setTimeout(() => {
loading.value = false
}, 1500)
}
</script>
<template>
<G3Button type="primary" :loading="loading" @click="handleAsync">点击加载</G3Button>
<G3Button disabled>禁用</G3Button>
<G3Button type="primary" disabled>禁用(主要)</G3Button>
</template>