<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<div id="app">
<p>作者:{
{
author}}</p>
<p>书名: {
{
title}}</p>
</div>
<script src="https://unpkg.com/vue@next"></script>
<script>
const {
reactive, toRefs} &#
vm等于的必须是双引号:vm.title=“Java有难事“;toRefs增加响应式
于 2022-03-03 10:00:39 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)