Browse Source

多列选中3316

zhouna 5 years ago
parent
commit
82323dcf47
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/common/MultSelect.vue
  2. 1 1
      src/common/OptionInp.vue

+ 1 - 1
src/common/MultSelect.vue

@@ -183,7 +183,7 @@ export default {
     border:1px #DFE0E4 solid;
     border-radius: 0.36rem;
     font-size: #font[select];
-    margin: 0 0.15rem;
+    margin: 0.15rem 0.15rem 0;
     float: left;
     color: #666;
   }

+ 1 - 1
src/common/OptionInp.vue

@@ -1,6 +1,6 @@
 <!-- 带输入框选项 -->
 <template>
-  <div :class="['inpbox',{'iptCheck':item.select}]">
+  <div :class="['inpbox',{'iptCheck':item.select||item.value}]">
     <span class="prefix" v-if="msg.prefix" @click="stopPop">{{msg.prefix}}</span>
     <input :type="msg.type=='number'?'number':'text'"
             :placeholder="msg.placeholder"