0.0.15 • Published 3 years ago

data-source-ui v0.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

data-source

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

组件使用

数据源使用

npm i data-source-ui
import dataSource from "data-source-ui";
import "data-source-ui/lib/source.css";
Vue.use(dataSource);
<template>
    <select-source v-model="value" @change="handleChange" width="120px" space="10px" />
</tempalte>

<script>
export default {
    data() {
        return {
            value: ''
        }
    },
    methods: {
        handleChange (val) {
            console.log(val) //得到数据源数据
        }
    }
}
</script>
属性描述
value选择数据源值
width分类的宽度
spaceinput 之间的间隙
defaultValue分类是否默认选择

cron 使用

<template>
  <task-cron v-model="value" />
</template>

<script>
export default {
  data() {
    return {
      value: "",
    };
  },
};
</script>
0.0.14

3 years ago

0.0.15

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago