当前位置:网站首页>Thirty What are VM and VC?
Thirty What are VM and VC?
2022-04-23 20:22:00 【Isn't this more popular than Bo people?】
(1) What is? vm? What is? vc?
- VueComponent Instance object of , It will be abbreviated as vc( It can also be called : Component instance object ).
- Vue Instance object of , It will be abbreviated as vm.
(2)VueComponent What is the essence of components ?
- school The essence of a component is a component called VueComponent Constructor for , And not defined by programmers , yes Vue.extend Generated .
- We just need to write or ,Vue When parsing, it will help us create school Component instance objects , namely Vue Help us execute :new VueComponent(options).
- Particular attention : Every time you call Vue.extend, What is returned is a brand new VueComponent!!!!
(3) About this Point to :
- vc In component configuration :data function 、methods The function in 、watch The function in 、computed The function in Their this It's all 【VueComponent Instance object 】.
- new Vue(options) namely vm Configuration in progress :data function 、methods The function in 、watch The function in 、computed The function in Their this It's all 【Vue Instance object 】.
source : Shang Silicon Valley teacher Zhang Tianyu video , Talking about vm and vc An important built-in relationship of .
版权声明
本文为[Isn't this more popular than Bo people?]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204232021100386.html
边栏推荐
- Numpy mathematical function & logical function
- Customize timeline component styles
- 一. js的深拷贝和浅拷贝
- R language uses the preprocess function of caret package for data preprocessing: BoxCox transform all data columns (convert non normal distribution data columns to normal distribution data and can not
- Redis installation (centos7 command line installation)
- 三十一. `prototype`显示原型属性和`__proto__`隐式原型属性
- go-zero框架数据库方面避坑指南
- How can matlab obtain the truncated image in trainingimagelabeler
- Sqoop imports tinyint type fields to boolean type
- NC basic usage 2
猜你喜欢

How to protect ECs from hacker attacks?

SQL Server connectors by thread pool 𞓜 instructions for dtsqlservertp plug-in

SQL Server Connectors By Thread Pool | DTSQLServerTP plugin instructions

DNS cloud school rising posture! Three advanced uses of authoritative DNS

Redis cache penetration, cache breakdown, cache avalanche

. Ren -- the intimate artifact in the field of vertical Recruitment!

Customize timeline component styles

SIGIR'22「微软」CTR估计:利用上下文信息促进特征表征学习

Building the tide, building the foundation and winning the future -- the successful holding of zdns Partner Conference

WordPress plug-in: WP CHINA Yes solution to slow domestic access to the official website
随机推荐
Mysql database backup scheme
三十.什么是vm和vc?
star
RT-1052学习笔记 - GPIO架构分析
Linux64Bit下安装MySQL5.6-不能修改root密码
Customize timeline component styles
Es keyword sorting error reason = fielddata is disabled on text fields by default Set fielddata = true on keyword in order
An error is reported in the initialization metadata of the dolphin scheduler -- it turns out that there is a special symbol in the password. "$“
Why does ES6 need to introduce map when JS already has object type
After route link navigation, the sub page does not display the navigation style problem
. Ren -- the intimate artifact in the field of vertical Recruitment!
【PTA】L2-011 玩转二叉树
Click an EL checkbox to select all questions
还在用 ListView?使用 AnimatedList 让列表元素动起来
Redis installation (centos7 command line installation)
JDBC database addition, deletion, query and modification tool class
R语言survival包coxph函数构建cox回归模型、ggrisk包ggrisk函数和two_scatter函数可视化Cox回归的风险评分图、解读风险评分图、基于LIRI数据集(基因数据集)
Numpy sort search count set
Research on open source OCR engine
DNS cloud school | analysis of hidden tunnel attacks in the hidden corner of DNS