当前位置:网站首页>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
边栏推荐
- On BIM data redundancy theory
- Analysis of the relationship between generalized Bim and CAD under the current background
- 【栈和队列专题】—— 滑动窗口
- Investigate why close is required after sqlsession is used in mybatties
- Unity 模型整体更改材质
- JDBC tool class jdbcconutil gets the connection to the database
- Sqoop imports data from Mysql to HDFS using lzop compression format and reports NullPointerException
- An error is reported when sqoop imports data from Mysql to HDFS: sqlexception in nextkeyvalue
- Fundamentals of network communication (LAN, Wan, IP address, port number, protocol, encapsulation and distribution)
- Don't bother tensorflow learning notes (10-12) -- Constructing a simple neural network and its visualization
猜你喜欢
Mathematical modeling column | Part 5: MATLAB optimization model solving method (Part I): Standard Model
STM32基础知识
DNS cloud school | quickly locate DNS resolution exceptions and keep these four DNS status codes in mind
Development of Matlab GUI bridge auxiliary Designer (functional introduction)
Sqoop imports tinyint type fields to boolean type
Customize timeline component styles
Linux64Bit下安装MySQL5.6-不能修改root密码
DNS cloud school | analysis of hidden tunnel attacks in the hidden corner of DNS
Building the tide, building the foundation and winning the future -- the successful holding of zdns Partner Conference
Computing the intersection of two planes in PCL point cloud processing (51)
随机推荐
Fundamentals of network communication (LAN, Wan, IP address, port number, protocol, encapsulation and distribution)
[problem solving] 'ASCII' codec can't encode characters in position XX XX: ordinal not in range (128)
An error is reported in the initialization metadata of the dolphin scheduler -- it turns out that there is a special symbol in the password. "$“
Building the tide, building the foundation and winning the future -- the successful holding of zdns Partner Conference
ABAQUS script email auto notification
考研英语唐叔的语法课笔记
star
16MySQL之DCL 中 COMMIT和ROllBACK
PCL点云处理之基于PCA的几何形状特征计算(五十二)
论文写作 19: 会议论文与期刊论文的区别
中金财富公司怎么样,开户安全吗
After route link navigation, the sub page does not display the navigation style problem
DNS cloud school | quickly locate DNS resolution exceptions and keep these four DNS status codes in mind
selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executable needs to be in PAT
The flinkcdc reports an error: but this is no longer available on the server
还在用 ListView?使用 AnimatedList 让列表元素动起来
AQS learning
R language ggplot2 visualization: ggplot2 visualizes the scatter diagram and uses geom_ mark_ The ellipse function adds ellipses around data points of data clusters or data groups for annotation
Use the rolling division method to find the maximum common divisor of two numbers
Browser - learning notes