Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

monorepo / venus

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 1
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • venus
  • ..
  • button
  • index.vue
  • Lin's avatar
    feat: 测试验证平台/公共UI组件库配置优化 · 9949661e
    Lin committed Jan 22, 2026
    9949661e
index.vue 343 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<script setup lang="ts">
defineOptions({
	name: "GLButton",
});
</script>

<template>
    <ElButton v-bind="$attrs">
        <template v-for="(_, name) in $slots"
                  :key="name"
                  #[name]="slotData">
            <slot :name="name" v-bind="{ ...slotData }"></slot>
        </template>
    </ElButton>
</template>