<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Vue</title>
<script src="https://cdn.bootcss.com/vue/2.4.2/vue.min.js"></script>
</head>
<body>
<div id="app">
<input v-model="x">
<div>{{y}}</div>
</div>
<script>
new Vue({
el: "-sharpapp",
data: {
y:"1"
},
computed:{
x:{
get(){return 555},
set(val){
//y
this.y=val;
}
}
}
})
</script>
</body>
</html>
/ / the above code can run in the browser
my problem is that there is a problem with y