Browse Source

Merge branch 'next' of https://github.com/jdf2e/nutui into next

Drjnigfubo 3 years ago
parent
commit
a38e8e394b

+ 22 - 1
CHANGELOG.md

@@ -1,6 +1,27 @@
+## v3.1.16
+
+`2022-01-30` 此版本依赖 Taro 3.4.x
+
+NutUI 非常感谢您对开源事业做出的贡献!🌷🌷🌷
+本次社区贡献者 @Anberm
+
+* :zap: feat(button): use taro button (#918) @Anberm
+* :zap: feat(uploader): delete 事件增加文件下标字段 @richard1015
+* :zap: chore(navbar): 底层tabs组件替换 (#971) @liqiong-lab
+* :zap: chore(picker): 增加3d滚动效果、支持小程序场景使用 (#981) @yangxiaolu1993
+* :bug: fix(taro env): taro failed resolve component @szg2008
+* :bug: fix(tabbar): taro vue-router warn (#980) @Drjingfubo
+* :bug: fix(icon): loading icon rotate bug @richard1015
+* :bug: fix(input): 修复close 按钮清除延迟bug  @ailululu
+* :bug: fix(uploader): multiple 状态文件限制bug修复 @richard1015
+* :bug: fix(menu): 页面内容过长滑动位置固定 bug @yangjinjun3
+* :bug: fix(price,switch): vue warn  @richard1015
+* :zap: docs: 官网所有组件文档支持在线调试 @teams/nutui
+
+
 ## v3.1.15
 ## v3.1.15
 
 
-`2022-01-21`
+`2022-01-21` 此版本依赖 Taro 3.4.x
 
 
 NutUI 非常感谢您对开源事业做出的贡献!🌷🌷🌷
 NutUI 非常感谢您对开源事业做出的贡献!🌷🌷🌷
 本次社区贡献者 @Anberm、@odex21
 本次社区贡献者 @Anberm、@odex21

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "@nutui/nutui",
   "name": "@nutui/nutui",
-  "version": "3.1.15",
+  "version": "3.1.16",
   "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
   "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
   "main": "dist/nutui.umd.js",
   "main": "dist/nutui.umd.js",
   "module": "dist/nutui.es.js",
   "module": "dist/nutui.es.js",

+ 1 - 1
src/packages/__VUE/indicator/doc.md

@@ -2,7 +2,7 @@
 
 
 ### 介绍
 ### 介绍
 
 
-显示一个任务或流程的进度,常用开通流程。
+显示一个任务或流程的进度,常用开通流程。
 
 
 ### 安装
 ### 安装
 
 

+ 1 - 1
src/packages/__VUE/price/index.taro.vue

@@ -44,7 +44,7 @@ export default create({
       default: '¥'
       default: '¥'
     },
     },
     decimalDigits: {
     decimalDigits: {
-      type: Number,
+      type: [Number, String],
       default: 2
       default: 2
     },
     },
     thousands: {
     thousands: {

+ 1 - 1
src/packages/__VUE/price/index.vue

@@ -42,7 +42,7 @@ export default create({
       default: '¥'
       default: '¥'
     },
     },
     decimalDigits: {
     decimalDigits: {
-      type: Number,
+      type: [Number, String],
       default: 2
       default: 2
     },
     },
     thousands: {
     thousands: {

+ 2 - 2
src/packages/__VUE/switch/demo.vue

@@ -32,12 +32,12 @@
 
 
     <h2>自定义颜色</h2>
     <h2>自定义颜色</h2>
     <nut-cell>
     <nut-cell>
-      <nut-switch v-model="checked" @change="switchChange" active-color="blue" />
+      <nut-switch v-model="checked" @change="change" active-color="blue" />
     </nut-cell>
     </nut-cell>
 
 
     <h2>支持文字</h2>
     <h2>支持文字</h2>
     <nut-cell>
     <nut-cell>
-      <nut-switch v-model="checked" @change="switchChange" active-text="开" inactive-text="关" />
+      <nut-switch v-model="checked" @change="change" active-text="开" inactive-text="关" />
     </nut-cell>
     </nut-cell>
   </div>
   </div>
 </template>
 </template>