<template>
<div id="vue_det">
<el-input v-model="input" placeholder="请输入内容"></el-input>
</div>
</template>
<script>export default {
name: 'Test',
data () {
return {
input: ''
}
},
created () {
this.setInput()
},
methods: {
setInput () {
this.input = '111'
}
}
}
</script>
<style scoped>
</style>
Vue集成ElementUI(一) 如何渲染值,赋值
最新推荐文章于 2023-06-02 10:03:38 发布