hw-cus-ui 1.1.20 → 1.1.22

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.
@@ -90,7 +90,7 @@
90
90
  </view>
91
91
  </template>
92
92
 
93
- <script setup>
93
+ <script lang="ts" setup>
94
94
  import { ref, onMounted, watch, nextTick } from 'vue';
95
95
 
96
96
  const props = defineProps({
@@ -1,10 +1,10 @@
1
- // index.ts
2
- import type { App } from 'vue';
3
- import HwPickerTree from './HwPickerTree.vue';
4
-
5
- // 使用install方法,在app.use挂载
6
- HwPickerTree.install = (app: App) => {
7
- app.component(HwPickerTree.__name as string, HwPickerTree); //注册组件
8
- };
9
-
10
- export default HwPickerTree;
1
+ // index.ts
2
+ import type { App } from 'vue';
3
+ import HwPickerTree from './HwPickerTree.vue';
4
+
5
+ // 使用install方法,在app.use挂载
6
+ HwPickerTree.install = (app: App) => {
7
+ app.component(HwPickerTree.__name as string, HwPickerTree); //注册组件
8
+ };
9
+
10
+ export default HwPickerTree;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hw-cus-ui",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "description": "使用该组件库需安装uniapp插件@dcloudio/uni-ui",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  "@vueuse/core": "^10.0.0"
16
16
  },
17
17
  "peerDependencies": {
18
- "vue": "^3.0.0",
18
+ "vue": "^3.5.24",
19
19
  "sass": "^1.0.0"
20
20
  }
21
21
  }