فهرست منبع

Merge branch 'new_ll' into new

luolei 5 سال پیش
والد
کامیت
322b404119
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      src/common/Input.vue
  2. 1 0
      src/common/OptionInp.vue

+ 1 - 0
src/common/Input.vue

@@ -1,6 +1,7 @@
 <template>
   <div class="inp-wrap">
     <input :type="item.controlType==6?'text':'tel'" 
+          :maxlength="item.controlType==6?'':10"
           :class="{'change':borColor}" 
           v-model="val" 
           @input="changeVal" 

+ 1 - 0
src/common/OptionInp.vue

@@ -6,6 +6,7 @@
       <input :type="msg.type=='number'?'tel':'text'" 
               :placeholder="msg.placeholder"
               :disabled="exclu"
+              :maxlength="msg.type=='number'?10:''"
               :class="[{'exclu':exclu},{'cancel':item.select==0}]"
               v-model="txt"
               @click="handleCli"