<!DOCTYPE html>
<html>
<head>
<script src="js/vue.js"></script>
</head>
<body id="example">
<form>
姓名:
<input type="text" v-model="data.name">
<br>
性别:
<input type="radio" name="sex" v-model="data.sex" id="man" value="one">
<label for="man">男</label>
<html>
<head>
<script src="js/vue.js"></script>
</head>
<body id="example">
<form>
姓名:
<input type="text" v-model="data.name">
<br>
性别:
<input type="radio" name="sex" v-model="data.sex" id="man" value="one">
<label for="man">男</label>