uview-ultra 4.5.47 → 4.5.48
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.
package/changelog.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## 4.5.48
|
|
2
|
+
fix: 修复 up-tabs-pro、up-novel-reader Vue 版微信小程序编译报错
|
|
3
|
+
|
|
4
|
+
- up-tabs-pro(.vue):移除原生 view 上不受小程序编译器支持的对象形式 v-bind="$attrs",修复 v-bind="" is not supported. 报错。
|
|
5
|
+
- 同时恢复默认根节点属性继承,保留 H5 下 id、data-*、外部 class/style 及原生事件绑定;组件 props、事件、插槽 API 与 .uvue 实现保持不变。
|
|
6
|
+
- up-novel-reader(.vue):error 插槽改为显式传递 error、retry,修复对象形式 v-bind 导致的微信小程序编译报错;保留错误对象、重试回调、默认错误提示和重试按钮,插槽 API 与 .uvue 实现不变。
|
|
7
|
+
|
|
1
8
|
## 4.5.47
|
|
2
9
|
fix: 修复导航栏胶囊遮挡、条码画布初始化时序并补齐类型导出
|
|
3
10
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
</slot>
|
|
56
56
|
</template>
|
|
57
57
|
<template #error="slotProps">
|
|
58
|
-
<slot name="error"
|
|
58
|
+
<slot name="error" :error="slotProps.error" :retry="slotProps.retry">
|
|
59
59
|
<text class="up-novel-reader__state-text">{{ error && error.message || '章节加载失败' }}</text>
|
|
60
60
|
<view class="up-novel-reader__state-action" @tap.stop="handleRetry">重试</view>
|
|
61
61
|
</slot>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view class="up-tabs-pro" :class="customClass" :style="addStyle(customStyle)"
|
|
2
|
+
<view class="up-tabs-pro" :class="customClass" :style="addStyle(customStyle)">
|
|
3
3
|
<up-tabs
|
|
4
4
|
:list="safeList"
|
|
5
5
|
:keyName="keyName"
|
|
@@ -58,8 +58,7 @@ import { commonProps } from '../../libs/composable/useUltraUI.js'
|
|
|
58
58
|
import { addStyle } from '../../libs/function/index.js'
|
|
59
59
|
|
|
60
60
|
defineOptions({
|
|
61
|
-
name: 'up-tabs-pro'
|
|
62
|
-
inheritAttrs: false
|
|
61
|
+
name: 'up-tabs-pro'
|
|
63
62
|
})
|
|
64
63
|
|
|
65
64
|
const props = defineProps({
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "uview-ultra",
|
|
3
3
|
"name": "uview-ultra",
|
|
4
4
|
"displayName": "零云®UviewUltra v4重磅发布,大满贯全面兼容uniapp-x、uniapp鸿蒙组件库。",
|
|
5
|
-
"version": "4.5.
|
|
5
|
+
"version": "4.5.48",
|
|
6
6
|
"description": "uview-ultra全面兼容uni-app/uni-app-x/鸿蒙/nvue,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"uview",
|