vue3+ts 数据双向绑定
摘要:在 Vue3 中使用 TypeScript 实现数据双向绑定,主要需要以下几个步骤: 1. 创建组件 首先,需要创建一个组件,定义组件所需要的属性和方法,并使用装饰器 @Component 对组件进行装饰,以便可以在 Vue 中使用。 ```typescript import { Component
阅读全文
posted @ 2023-04-27 11:22
posted @ 2023-04-27 11:22
posted @ 2023-04-25 09:40
posted @ 2023-04-24 18:44
posted @ 2023-04-17 23:23