uview-plus组件库全面升级更新,订单结算判断支付方式是否可用代码调整,公众号关注二维码修改
This commit is contained in:
@@ -56,7 +56,7 @@ export const props = defineMixin({
|
||||
type: Function,
|
||||
default: null
|
||||
},
|
||||
// 是否显示组件自带的图片预览功能
|
||||
// 是否显示组件自带的图片&视频预览功能
|
||||
previewFullImage: {
|
||||
type: Boolean,
|
||||
default: () => defProps.upload.previewFullImage
|
||||
@@ -125,6 +125,52 @@ export const props = defineMixin({
|
||||
previewImage: {
|
||||
type: Boolean,
|
||||
default: () => defProps.upload.previewImage
|
||||
}
|
||||
},
|
||||
// 是否自动删除
|
||||
autoDelete: {
|
||||
type: Boolean,
|
||||
default: () => defProps.upload.autoDelete
|
||||
},
|
||||
// 是否自动上传需要传递action指定地址
|
||||
autoUpload: {
|
||||
type: Boolean,
|
||||
default: () => defProps.upload.autoUpload
|
||||
},
|
||||
// 自动上传接口地址
|
||||
autoUploadApi: {
|
||||
type: String,
|
||||
default: () => defProps.upload.autoUploadApi
|
||||
},
|
||||
// 自动上传驱动,local/oss/cos/kodo
|
||||
autoUploadDriver: {
|
||||
type: String,
|
||||
default: () => defProps.upload.autoUploadDriver
|
||||
},
|
||||
// 自动上传授权接口,比如oss的签名接口。
|
||||
autoUploadAuthUrl: {
|
||||
type: String,
|
||||
default: () => defProps.upload.autoUploadAuthUrl
|
||||
},
|
||||
// 自动上传携带的header
|
||||
autoUploadHeader: {
|
||||
type: Object,
|
||||
default: () => {
|
||||
return defProps.upload.autoUploadHeader
|
||||
}
|
||||
},
|
||||
// 本地计算视频封面
|
||||
getVideoThumb: {
|
||||
type: Boolean,
|
||||
default: () => defProps.upload.getVideoThumb
|
||||
},
|
||||
// 自定义自动上传后处理
|
||||
customAfterAutoUpload: {
|
||||
type: Boolean,
|
||||
default: () => defProps.upload.customAfterAutoUpload
|
||||
},
|
||||
videoPreviewObjectFit: {
|
||||
type: String,
|
||||
default: () => defProps.upload.videoPreviewObjectFit
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user