doway-coms 1.1.91 → 1.1.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.browserslistrc CHANGED
@@ -1,2 +1,2 @@
1
- > 1%
2
- last 2 versions
1
+ > 1%
2
+ last 2 versions
package/README.md CHANGED
@@ -1,24 +1,29 @@
1
- # doway-coms
2
-
3
- ## Project setup
4
- ```
5
- npm install
6
- ```
7
-
8
- ### Compiles and hot-reloads for development
9
- ```
10
- npm run serve
11
- ```
12
-
13
- ### Compiles and minifies for production
14
- ```
15
- npm run build
16
- ```
17
-
18
- ### Lints and fixes files
19
- ```
20
- npm run lint
21
- ```
22
-
23
- ### Customize configuration
24
- See [Configuration Reference](https://cli.vuejs.org/config/).
1
+ # doway-coms
2
+
3
+ ## Project setup
4
+ ```
5
+ npm install
6
+ ```
7
+
8
+ ### Compiles and hot-reloads for development
9
+ ```
10
+ npm run serve
11
+ ```
12
+
13
+ ### Compiles and minifies for production
14
+ ```
15
+ npm run build
16
+ ```
17
+
18
+ ### Lints and fixes files
19
+ ```
20
+ npm run lint
21
+ ```
22
+
23
+ ### Customize configuration
24
+ See [Configuration Reference](https://cli.vuejs.org/config/).
25
+
26
+ ### 发布到npm
27
+ ```
28
+ npm publish
29
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.1.91",
3
+ "version": "1.1.92",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -16,10 +16,10 @@
16
16
  <slot name="rowContent" :item="{ row: loopRow }"></slot>
17
17
  </div>
18
18
  <div style="width:20px" v-if="showSelect === true">
19
- <a-checkbox v-model="loopRow.isSelected"></a-checkbox>
19
+ <Checkbox v-model="loopRow.isSelected"></Checkbox>
20
20
  </div>
21
21
  <div style="width:20px" v-if="showDelete === true">
22
- <a-icon type="delete" @click="deleteItem(loopRow)" />
22
+ <Icon type="delete" @click="deleteItem(loopRow)" />
23
23
  </div>
24
24
  </div>
25
25
  </template>
@@ -80,8 +80,8 @@ import { Checkbox, Icon } from 'ant-design-vue'
80
80
  export default {
81
81
  name: 'BaseKanbanEmpty',
82
82
  components:{
83
- 'a-checkbox':Checkbox,
84
- 'a-icon':Icon,
83
+ Checkbox,
84
+ Icon,
85
85
  },
86
86
  data() {
87
87
  return {}
@@ -0,0 +1,8 @@
1
+ // 导入组件,组件必须声明 name
2
+ import BaseSearch from './src/index.vue';
3
+ // 为组件提供 install 安装方法,供按需引入
4
+ BaseSearch.install = function(Vue) {
5
+ Vue.component(BaseSearch.name, BaseSearch);
6
+ };
7
+ // 默认导出组件
8
+ export default BaseSearch;