# 隐藏字段

对应的字段配置displayfalse即可隐藏

<avue-form :option="option" v-model="form"></avue-form>
<script>
export default {
    data() {
      return {
        form: {},
        option: {
        column: [{
              label: "姓名",
              prop: "name",
              span:8
          },
          {
              label: "密码",
              prop: "password",
              type:'password',
              display:false
          }]
        }
      }
    }
}
</script>

Expand Copy
Last Updated: 3/9/2022, 4:27:25 PM