0.0.1-beta.18 • Published 7 months ago

@blueking/app-select v0.0.1-beta.18

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

蓝鲸业务选择器

使用

  import { createApp } from 'vue';

  import AppSelect from '@blueking/app-select';

  import App from './APP.vue'

  import '@blueking/app-select/dist/style.css'

  const app = createApp(App);

  app.component('AppSelect', AppSelect);
<template>
  <AppSelect :data="data" @change="handleChange" />
</template>
<script setup lang="ts">
  import { shallowRef } from 'vue';

  const data = shallowRef<AppItem[]>([
    {
      id: 'xxxx',
      name: '业务 xxxx'
    },
    {
      id: 'yyyy',
      name: '业务 yyyy'
    },
    {
      id: 'zzzz',
      name: '业务 zzzz'
    }
  ])

  const handleChange = (payload: AppItem) => {
      console.log('change = ', payload)
  }
</script>

组件 Props

组件 Event

组件 Slot

类型说明

  interface AppItem {
    [key: string]: any
  }
0.0.1-beta.18

7 months ago

0.0.1-beta.17

7 months ago

0.0.1-beta.14

7 months ago

0.0.1-beta.13

12 months ago

0.0.1-beta.15

7 months ago

0.0.1-beta.12

1 year ago

0.0.1-beta.11

1 year ago

0.0.1-beta.10

1 year ago

0.0.1-beta.9

1 year ago

0.0.1-beta.7

2 years ago

0.0.1-beta.8

2 years ago

0.0.1-beta.6

2 years ago

0.0.1-beta.5

2 years ago

0.0.1-beta.4

3 years ago

0.0.1-beta.3

3 years ago

0.0.1-beta.2

3 years ago

0.0.1-beta.1

3 years ago