fix warning
This commit is contained in:
@@ -11,6 +11,11 @@
|
|||||||
"type-check": "vue-tsc -p tsconfig.app.json --noEmit",
|
"type-check": "vue-tsc -p tsconfig.app.json --noEmit",
|
||||||
"type-check:publish": "vue-tsc -p tsconfig.publish.json --noEmit"
|
"type-check:publish": "vue-tsc -p tsconfig.publish.json --noEmit"
|
||||||
},
|
},
|
||||||
|
"pnpm": {
|
||||||
|
"patchedDependencies": {
|
||||||
|
"tdesign-mobile-vue@1.16.0": "patches/tdesign-mobile-vue@1.16.0.patch"
|
||||||
|
}
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@zxing/browser": "^0.1.5",
|
"@zxing/browser": "^0.1.5",
|
||||||
"@zxing/library": "^0.21.3",
|
"@zxing/library": "^0.21.3",
|
||||||
|
|||||||
@@ -0,0 +1,84 @@
|
|||||||
|
diff --git a/es/swiper/props.mjs b/es/swiper/props.mjs
|
||||||
|
--- a/es/swiper/props.mjs
|
||||||
|
+++ b/es/swiper/props.mjs
|
||||||
|
@@ -55,5 +55,5 @@
|
||||||
|
},
|
||||||
|
navigation: {
|
||||||
|
- type: [Object, Function]
|
||||||
|
+ type: [Boolean, Object, Function]
|
||||||
|
},
|
||||||
|
nextMargin: {
|
||||||
|
diff --git a/esm/swiper/props.js b/esm/swiper/props.js
|
||||||
|
--- a/esm/swiper/props.js
|
||||||
|
+++ b/esm/swiper/props.js
|
||||||
|
@@ -55,5 +55,5 @@
|
||||||
|
},
|
||||||
|
navigation: {
|
||||||
|
- type: [Object, Function]
|
||||||
|
+ type: [Boolean, Object, Function]
|
||||||
|
},
|
||||||
|
nextMargin: {
|
||||||
|
diff --git a/lib/swiper/props.js b/lib/swiper/props.js
|
||||||
|
--- a/lib/swiper/props.js
|
||||||
|
+++ b/lib/swiper/props.js
|
||||||
|
@@ -55,5 +55,5 @@
|
||||||
|
},
|
||||||
|
navigation: {
|
||||||
|
- type: [Object, Function]
|
||||||
|
+ type: [Boolean, Object, Function]
|
||||||
|
},
|
||||||
|
nextMargin: {
|
||||||
|
diff --git a/cjs/swiper/props.js b/cjs/swiper/props.js
|
||||||
|
--- a/cjs/swiper/props.js
|
||||||
|
+++ b/cjs/swiper/props.js
|
||||||
|
@@ -59,5 +59,5 @@
|
||||||
|
},
|
||||||
|
navigation: {
|
||||||
|
- type: [Object, Function]
|
||||||
|
+ type: [Boolean, Object, Function]
|
||||||
|
},
|
||||||
|
nextMargin: {
|
||||||
|
diff --git a/es/swiper/type.d.ts b/es/swiper/type.d.ts
|
||||||
|
--- a/es/swiper/type.d.ts
|
||||||
|
+++ b/es/swiper/type.d.ts
|
||||||
|
@@ -10,6 +10,6 @@
|
||||||
|
height?: string | number;
|
||||||
|
interval?: number;
|
||||||
|
loop?: boolean;
|
||||||
|
- navigation?: SwiperNavigation | TNode;
|
||||||
|
+ navigation?: boolean | SwiperNavigation | TNode;
|
||||||
|
nextMargin?: string | number;
|
||||||
|
previousMargin?: string | number;
|
||||||
|
diff --git a/esm/swiper/type.d.ts b/esm/swiper/type.d.ts
|
||||||
|
--- a/esm/swiper/type.d.ts
|
||||||
|
+++ b/esm/swiper/type.d.ts
|
||||||
|
@@ -10,6 +10,6 @@
|
||||||
|
height?: string | number;
|
||||||
|
interval?: number;
|
||||||
|
loop?: boolean;
|
||||||
|
- navigation?: SwiperNavigation | TNode;
|
||||||
|
+ navigation?: boolean | SwiperNavigation | TNode;
|
||||||
|
nextMargin?: string | number;
|
||||||
|
previousMargin?: string | number;
|
||||||
|
diff --git a/lib/swiper/type.d.ts b/lib/swiper/type.d.ts
|
||||||
|
--- a/lib/swiper/type.d.ts
|
||||||
|
+++ b/lib/swiper/type.d.ts
|
||||||
|
@@ -10,6 +10,6 @@
|
||||||
|
height?: string | number;
|
||||||
|
interval?: number;
|
||||||
|
loop?: boolean;
|
||||||
|
- navigation?: SwiperNavigation | TNode;
|
||||||
|
+ navigation?: boolean | SwiperNavigation | TNode;
|
||||||
|
nextMargin?: string | number;
|
||||||
|
previousMargin?: string | number;
|
||||||
|
diff --git a/cjs/swiper/type.d.ts b/cjs/swiper/type.d.ts
|
||||||
|
--- a/cjs/swiper/type.d.ts
|
||||||
|
+++ b/cjs/swiper/type.d.ts
|
||||||
|
@@ -10,6 +10,6 @@
|
||||||
|
height?: string | number;
|
||||||
|
interval?: number;
|
||||||
|
loop?: boolean;
|
||||||
|
- navigation?: SwiperNavigation | TNode;
|
||||||
|
+ navigation?: boolean | SwiperNavigation | TNode;
|
||||||
|
nextMargin?: string | number;
|
||||||
|
previousMargin?: string | number;
|
||||||
Generated
+7
-2
@@ -4,6 +4,11 @@ settings:
|
|||||||
autoInstallPeers: true
|
autoInstallPeers: true
|
||||||
excludeLinksFromLockfile: false
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
|
patchedDependencies:
|
||||||
|
tdesign-mobile-vue@1.16.0:
|
||||||
|
hash: 2xgxuymu3bzalw6z7rwbgszafy
|
||||||
|
path: patches/tdesign-mobile-vue@1.16.0.patch
|
||||||
|
|
||||||
importers:
|
importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
@@ -28,7 +33,7 @@ importers:
|
|||||||
version: 3.0.4(typescript@5.8.3)(vue@3.5.40(typescript@5.8.3))
|
version: 3.0.4(typescript@5.8.3)(vue@3.5.40(typescript@5.8.3))
|
||||||
tdesign-mobile-vue:
|
tdesign-mobile-vue:
|
||||||
specifier: ^1.16.0
|
specifier: ^1.16.0
|
||||||
version: 1.16.0(vue@3.5.40(typescript@5.8.3))
|
version: 1.16.0(patch_hash=2xgxuymu3bzalw6z7rwbgszafy)(vue@3.5.40(typescript@5.8.3))
|
||||||
timi-tdesign-mobile:
|
timi-tdesign-mobile:
|
||||||
specifier: 0.0.10
|
specifier: 0.0.10
|
||||||
version: 0.0.10(typescript@5.8.3)
|
version: 0.0.10(typescript@5.8.3)
|
||||||
@@ -3653,7 +3658,7 @@ snapshots:
|
|||||||
'@babel/runtime': 7.29.7
|
'@babel/runtime': 7.29.7
|
||||||
vue: 3.5.40(typescript@5.8.3)
|
vue: 3.5.40(typescript@5.8.3)
|
||||||
|
|
||||||
tdesign-mobile-vue@1.16.0(vue@3.5.40(typescript@5.8.3)):
|
tdesign-mobile-vue@1.16.0(patch_hash=2xgxuymu3bzalw6z7rwbgszafy)(vue@3.5.40(typescript@5.8.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.29.7
|
'@babel/runtime': 7.29.7
|
||||||
'@use-gesture/vanilla': 10.3.1
|
'@use-gesture/vanilla': 10.3.1
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="photo-scroller">
|
<div v-bind="$attrs" class="photo-scroller">
|
||||||
<div class="t-form__label" v-text="title" />
|
<div class="t-form__label" v-text="title" />
|
||||||
<div class="photo-shell" :class="{ 'without-add': !showAdd }">
|
<div class="photo-shell" :class="{ 'without-add': !showAdd }">
|
||||||
<div class="items">
|
<div class="items">
|
||||||
@@ -144,6 +144,10 @@ import type { ButtonProps } from "tdesign-mobile-vue";
|
|||||||
import type { PhotoItem } from "@/types/Photo";
|
import type { PhotoItem } from "@/types/Photo";
|
||||||
import { Message } from "@/utils/message";
|
import { Message } from "@/utils/message";
|
||||||
|
|
||||||
|
defineOptions({
|
||||||
|
inheritAttrs: false
|
||||||
|
});
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
addActions?: readonly AddAction[];
|
addActions?: readonly AddAction[];
|
||||||
addText?: string;
|
addText?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user