跟单表修订

This commit is contained in:
杰 朱
2021-05-22 20:22:13 +08:00
parent 99a2c9d193
commit d1727522c1
6 changed files with 165 additions and 52 deletions

View File

@@ -1,16 +1,36 @@
<template>
<div>
首页
</div>
<Row>
<div class="wrapper">
<h4>
<Icon type="heart"></Icon>&nbsp;save
</h4>
</div>
<div class="wrapper">
<Input v-model="value1" @on-change="value1Change"></Input>
</div>
<div class="wrapper">
<Input v-model="value2" @on-change="value2Change"></Input>
</div>
</Row>
</template>
<script>
export default {
name:"Index"
}
</script>
<style>
</style>
export default {
name: 'add',
data() {
return {
value1:'',
value2:''
}
},
methods:{
value1Change:function() {
var obj = this
this.$emit('value1', obj.value1)
},
value2Change:function() {
var obj = this
this.$emit('value2', obj.value2)
}
}
}
</script>