Browse Source

增加输入类型判断

haojianlong 4 years ago
parent
commit
c2ac09240e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/ready/buildfloor/formItems.vue

+ 1 - 1
src/components/ready/buildfloor/formItems.vue

@@ -74,7 +74,7 @@
             v-model="form[item.path]">
             <template slot="append" v-if="item.unit">{{ item.unit }}</template>
           </el-input>
-          <el-input v-model="form[item.path]" v-else disabled title="暂不支持"></el-input>
+          <el-input v-model="form[item.path]" v-else disabled title="暂不支持" :placeholder="item.inputMode?'':'字典无输入类型'"></el-input>
         </el-form-item>
       </div>
     </el-form>