摘要:
Axios通信 vscode 安装liveserver插件 解决跨域 <!DOCTYPE html> <html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8"> <title>T 阅读全文
posted @ 2022-08-04 23:44
doremi429
阅读(29)
评论(0)
推荐(0)
摘要:
1 <!DOCTYPE html> 2 <html lang="en" xmlns:v-for="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 </head> 7 < 阅读全文
posted @ 2022-08-04 19:38
doremi429
阅读(15)
评论(0)
推荐(0)
摘要:
1. 什么是双向绑定 Vue.js是一个MVVM框架,即数据双向绑定,即当数据发生变化的时候,视图也就发生变化,当视图发生变化的时候,数据也会跟着同步变化。这也算是Vue.js的精髓之处了。 值得注意的是,我们所说的数据双向绑定,一定是对于UI控件来说的,非UI控件不会涉及到数据双向绑定。单向 阅读全文
posted @ 2022-08-04 18:08
doremi429
阅读(291)
评论(0)
推荐(0)
摘要:
vue绑定事件: 1 <!DOCTYPE html> 2 <html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 </h 阅读全文
posted @ 2022-08-04 17:01
doremi429
阅读(23)
评论(0)
推荐(0)
摘要:
Vue基本语法 1. v-bind 现在数据和DOM已经被建立了关联,所有的东西都是响应式的。我们在控制台操作对象的属性,界面可以实时更新。 我们可以使用v-bind来绑定元素属性! 1 <!DOCTYPE html> 2 <html lang="en" xmlns:v-bind="http 阅读全文
posted @ 2022-08-04 16:44
doremi429
阅读(33)
评论(0)
推荐(0)
摘要:
1. 什么是MVVM MVVM (Model-View-ViewModel) 是一种软件架构设计模式,由微软WPF (用于替代WinForm,以前就是用这个技术开发桌面应用程序的)和Silverlight (类似于Java Applet,简单点说就是在浏览器上运行的WPF)的架构师Ken Coope 阅读全文
posted @ 2022-08-04 16:16
doremi429
阅读(20)
评论(0)
推荐(0)