htui-yllkbz 1.1.13 → 1.1.17
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/lib/htui.common.js +65821 -4853
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.umd.js +65815 -4847
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +19 -4
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/packages/SelectTable/index.ts +5 -5
- package/src/packages/SelectTable/index.vue +4 -2
- package/src/packages/index.ts +4 -4
package/lib/htui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-11-15 15:00:57
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2021-11-
|
|
7
|
+
* @LastEditTime: 2021-11-30 09:15:02
|
|
8
8
|
*/
|
|
9
|
-
import
|
|
9
|
+
import HtSelectTable from "./index.vue";
|
|
10
10
|
|
|
11
|
-
(
|
|
11
|
+
(HtSelectTable as any).install = function (Vue: any) {
|
|
12
12
|
|
|
13
|
-
Vue.component(
|
|
13
|
+
Vue.component(HtSelectTable.name, HtSelectTable);
|
|
14
14
|
};
|
|
15
|
-
export default
|
|
15
|
+
export default HtSelectTable;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-11-11 11:06:51
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2021-11-
|
|
7
|
+
* @LastEditTime: 2021-11-30 09:15:11
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
10
|
<el-popover placement="bottom"
|
|
@@ -45,6 +45,8 @@ import { Component, Prop, Vue, Watch } from "vue-property-decorator";
|
|
|
45
45
|
import CommonTable from "@/packages/SelectTable/CommonTable.vue";
|
|
46
46
|
import { ConfigProp } from "@/packages/type";
|
|
47
47
|
import "@/packages/style.scss";
|
|
48
|
+
import ElementUI from "element-ui";
|
|
49
|
+
Vue.use(ElementUI);
|
|
48
50
|
interface State {
|
|
49
51
|
/** 数据状态 */
|
|
50
52
|
loading: boolean;
|
|
@@ -78,7 +80,7 @@ interface Column {
|
|
|
78
80
|
CommonTable,
|
|
79
81
|
},
|
|
80
82
|
})
|
|
81
|
-
export default class
|
|
83
|
+
export default class HtSelectTable extends Vue {
|
|
82
84
|
/** 通用样式 */
|
|
83
85
|
@Prop() comStyle!: string;
|
|
84
86
|
@Prop() config!: string;
|
package/src/packages/index.ts
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-10-21 10:08:41
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2021-11-
|
|
7
|
+
* @LastEditTime: 2021-11-30 09:15:40
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
// 导入开关选择组件
|
|
11
|
-
import
|
|
11
|
+
import HtSelectTable from './SelectTable/index'
|
|
12
12
|
|
|
13
13
|
// 存储组件列表
|
|
14
14
|
const components = [
|
|
15
|
-
|
|
15
|
+
HtSelectTable
|
|
16
16
|
]
|
|
17
17
|
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
|
|
18
18
|
const install = function (Vue: any) {
|
|
@@ -30,6 +30,6 @@ export default {
|
|
|
30
30
|
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
|
31
31
|
install,
|
|
32
32
|
// 以下是具体的组件列表
|
|
33
|
-
|
|
33
|
+
HtSelectTable
|
|
34
34
|
}
|
|
35
35
|
|