htui-yllkbz 1.2.0 → 1.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "htui-yllkbz",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "typings": "types/index.d.ts",
5
5
  "main": "lib/htui.common.js",
6
6
  "style": "lib/htui.css",
package/src/App.vue CHANGED
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-11-15 14:41:40
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2021-11-25 11:45:18
7
+ * @LastEditTime: 2021-11-30 10:27:08
8
8
  -->
9
9
  <template>
10
10
  <div id="app">
@@ -29,6 +29,7 @@
29
29
  <script lang="ts">
30
30
  import { Component, Vue } from "vue-property-decorator";
31
31
  import SelectTable from "@/packages/SelectTable/index.vue";
32
+ console.log("HtSelectTable.name", SelectTable);
32
33
  @Component({
33
34
  components: { SelectTable },
34
35
  })
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-11-15 14:50:56
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2021-11-25 11:20:02
7
+ * @LastEditTime: 2021-11-30 10:26:25
8
8
  -->
9
9
  <!--
10
10
  * @Descripttion:
@@ -17,7 +17,7 @@
17
17
  <template>
18
18
  <div v-loading="state.loading">
19
19
  <header>
20
- <el-input :placeholder="searchPlaceholder||请输入关键字查询"
20
+ <el-input :placeholder="searchPlaceholder||'请输入关键字查询'"
21
21
  class="htui-search"
22
22
  v-model="state.filterData.Filter"></el-input>
23
23
  </header>
@@ -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-30 09:15:02
7
+ * @LastEditTime: 2021-11-30 10:25:23
8
8
  */
9
9
  import HtSelectTable from "./index.vue";
10
10
 
11
11
  (HtSelectTable as any).install = function (Vue: any) {
12
-
12
+ console.log('HtSelectTable.name', HtSelectTable.name);
13
13
  Vue.component(HtSelectTable.name, HtSelectTable);
14
14
  };
15
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-30 09:15:11
7
+ * @LastEditTime: 2021-11-30 10:32:57
8
8
  -->
9
9
  <template>
10
10
  <el-popover placement="bottom"
@@ -76,6 +76,7 @@ interface Column {
76
76
  }
77
77
 
78
78
  @Component({
79
+ name: "HtSelectTable",
79
80
  components: {
80
81
  CommonTable,
81
82
  },
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-10-21 10:08:41
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2021-11-30 09:15:40
7
+ * @LastEditTime: 2021-11-30 10:25:55
8
8
  */
9
9
 
10
10
  // 导入开关选择组件
@@ -19,7 +19,10 @@ const install = function (Vue: any) {
19
19
  // 判断是否安装
20
20
  if ((install as any).installed) return
21
21
  // 遍历注册全局组件
22
- components.map(component => Vue.component(component.name, component))
22
+ components.map(component => {
23
+ console.log('component.name', component);
24
+ return Vue.component(component.name, component)
25
+ })
23
26
  }
24
27
  // 判断是否是直接引入文件
25
28
  if (typeof window !== 'undefined' && window.Vue) {
package/types/index.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-09-07 14:10:49
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2021-11-15 16:57:19
7
+ * @LastEditTime: 2021-11-30 10:23:40
8
8
  */
9
9
  declare module 'htui-yllkbz' {
10
10
  // 3. 声明为 Vue 补充的东西