diff --git a/pages/component/image/image-format.uvue b/pages/component/image/image-format.uvue index 508c9fccf4414303ed67cac9906d8f94da47f478..9139671b7edaaa4d6a2f5de91bb07990ff41b8a6 100644 --- a/pages/component/image/image-format.uvue +++ b/pages/component/image/image-format.uvue @@ -97,8 +97,8 @@ type ImageFormat = { format : string - src : string - errorImage ?: string | null + src : string.ImageURIString + errorImage ?: string.ImageURIString | null } diff --git a/pages/component/image/image-path.uvue b/pages/component/image/image-path.uvue index bc740f9962d86750aa8c5cc6f655b15c61db129f..1cfa7506e76912cb74863cba65efe925a7ea501b 100644 --- a/pages/component/image/image-path.uvue +++ b/pages/component/image/image-path.uvue @@ -28,7 +28,7 @@ data() { return { title: 'image-path', - outsideStaticPath: './logo.png', + outsideStaticPath: './logo.png' as string.ImageURIString, outsideStaticErrorPath: null as string | null, data: [ { @@ -101,8 +101,8 @@ } type ImagePath = { - src : string - errorImage ?: string | null + src : string.ImageURIString + errorImage ?: string.ImageURIString | null description : string } diff --git a/pages/component/image/image.uvue b/pages/component/image/image.uvue index 40fcd61f256e111e762a54894424abb5e99e39bb..64a5accba02bac896e9255fa3c303e75ee521d15 100644 --- a/pages/component/image/image.uvue +++ b/pages/component/image/image.uvue @@ -25,7 +25,7 @@ data() { return { title: 'image', - imageSrc: "/static/test-image/logo.png", + imageSrc: "/static/test-image/logo.png" as string.ImageURIString, loadError: false } }, diff --git a/pages/component/input/input.uvue b/pages/component/input/input.uvue index 7bc96624a6d5175c24ad3069e7c4bc6fd9c02a74..bb444764261a02f1716efaca146154dbafe06f1f 100644 --- a/pages/component/input/input.uvue +++ b/pages/component/input/input.uvue @@ -259,7 +259,7 @@ inputPassword: true, inputTypeTel: "tel", inputPlaceHolderStyle: "color:red", - inputPlaceHolderClass: "uni-input-placeholder-class", + inputPlaceHolderClass: "uni-input-placeholder-class" as string.ClassString , inputMaxLengthValue: "", onMaxLengthInputValue: "", inputMaxLengthFocus: false, diff --git a/pages/template/drop-card/drop-card@old.uvue b/pages/template/drop-card/drop-card@old.uvue index d709e4bbb3ad1bc75b6897726968c2e35c3bec30..526719490518d409c8082902c5a803b3e86c2903 100644 --- a/pages/template/drop-card/drop-card@old.uvue +++ b/pages/template/drop-card/drop-card@old.uvue @@ -32,7 +32,7 @@ '/static/template/drop-card/1.jpg', '/static/template/drop-card/2.jpg', '/static/template/drop-card/3.jpg' - ] + ] as string.ImageURIString[] } }, computed: {