浏览代码

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

Drjnigfubo 3 年之前
父节点
当前提交
f5431ee0f7

+ 2 - 1
src/packages/__VUE/input/index.taro.vue

@@ -264,7 +264,8 @@ export default create({
 
     const renderInput = (type: InputType) => {
       return h(type == 'textarea' ? 'textarea' : 'input', {
-        style: type == 'textarea' ? stylesTextarea : styles
+        style: type == 'textarea' ? stylesTextarea : styles,
+        type: type != 'textarea' && inputType(type)
       });
     };
 

+ 2 - 1
src/packages/__VUE/input/index.vue

@@ -254,7 +254,8 @@ export default create({
 
     const renderInput = (type: InputType) => {
       return h(type == 'textarea' ? 'textarea' : 'input', {
-        style: type == 'textarea' ? stylesTextarea : styles
+        style: type == 'textarea' ? stylesTextarea : styles,
+        type: type != 'textarea' && inputType(type)
       });
     };
 

+ 1 - 0
src/packages/__VUE/menuitem/index.taro.vue

@@ -17,6 +17,7 @@
           ? { top: parent.offset.value + 'px' }
           : { bottom: parent.offset.value + 'px', top: 'auto' }
       "
+      transition="none"
       v-bind="$attrs"
       v-model:visible="state.showPopup"
       :position="parent.props.direction === 'down' ? 'top' : 'bottom'"