A small problem with using element-ui form elements in vue?

clipboard.png
how do I set the default value for this el-input?

Mar.13,2021

data () {

form:{
    token:"123"
}

}
set this way.


form.token='abc'


see more examples on the official website: https://jsfiddle.net/api/post.

<el-form-item label="">
    <el-input v-model="formLabelAlign.name"></el-input>
  </el-form-item>
data() {
      return {
        labelPosition: 'right',
        formLabelAlign: {
          name: '111',
          region: '',
          type: ''
        }
      };
    }
Menu