dpzvc3-ui 3.1.3 → 3.1.4

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.
@@ -4,7 +4,7 @@ type ActionItem = {
4
4
  };
5
5
  export type ActionSheetProps = {
6
6
  modelValue?: boolean;
7
- items?: ActionItem;
7
+ items?: ActionItem[];
8
8
  cancleText?: string;
9
9
  };
10
10
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/actionSheet/types.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACpD,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/actionSheet/types.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACpD,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dpzvc3-ui",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "description": "Vue3组件库",
5
5
  "main": "dist/dpzvc3.js",
6
6
  "module": "dist/dpzvc3.esm.js",
@@ -5,6 +5,6 @@ type ActionItem = {
5
5
 
6
6
  export type ActionSheetProps = {
7
7
  modelValue?: boolean
8
- items?: ActionItem
8
+ items?: ActionItem[]
9
9
  cancleText?: string
10
10
  }
@@ -14,11 +14,11 @@
14
14
  <script lang="ts">
15
15
  import { ref, defineComponent } from 'vue'
16
16
  // import VButton from '@/components/button'
17
- // import ActionSheet from '@/components/actionSheet'
17
+ import ActionSheet from '@/components/actionSheet'
18
18
 
19
19
  export default defineComponent({
20
20
  name: 'ViewActionSheet',
21
- // components: { ActionSheet },
21
+ components: { ActionSheet },
22
22
  setup () {
23
23
  // 响应式状态
24
24
  const visible = ref(false)