当前位置:网站首页>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
边栏推荐
- Cadence Orcad Capture CIS更换元器件之Link Database 功能介绍图文教程及视频演示
- Computing the intersection of two planes in PCL point cloud processing (51)
- 16MySQL之DCL 中 COMMIT和ROllBACK
- Operation of numpy array
- Still using listview? Use animatedlist to make list elements move
- Redis cache penetration, cache breakdown, cache avalanche
- Modeling based on catiav6
- Record: call mapper to report null pointer Foreach > the usage of not removing repetition;
- 論文寫作 19: 會議論文與期刊論文的區別
- Es error: request contains unrecognized parameter [ignore_throttled]
猜你喜欢

DNS cloud school | quickly locate DNS resolution exceptions and keep these four DNS status codes in mind

WordPress插件:WP-China-Yes解决国内访问官网慢的方法

STM32基础知识

SQL Server Connectors By Thread Pool | DTSQLServerTP plugin instructions

Numpy - creation of data type and array

Matlab analytic hierarchy process to quickly calculate the weight

堡垒机、跳板机JumpServer的搭建,以及使用,图文详细

DNS cloud school | analysis of hidden tunnel attacks in the hidden corner of DNS

selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executable needs to be in PAT

上海回应“面粉官网是非法网站”:疏于运维被“黑”,警方已立案
随机推荐
Is the wechat CICC wealth high-end zone safe? How to open an account for securities
Why does ES6 need to introduce map when JS already has object type
论文写作 19: 会议论文与期刊论文的区别
三十一. `prototype`显示原型属性和`__proto__`隐式原型属性
ArcGIS JS version military landmark drawing (dovetail arrow, pincer arrow, assembly area) fan and other custom graphics
PostgreSQL basic functions
Remote code execution in Win 11 using wpad / PAC and JScript 3
[target tracking] pedestrian attitude recognition based on frame difference method combined with Kalman filter, with matlab code
Monte Carlo py solves the area problem! (save pupils Series)
【问题解决】‘ascii‘ codec can‘t encode characters in position xx-xx: ordinal not in range(128)
如何做产品创新?——产品创新方法论探索一
How can matlab obtain the truncated image in trainingimagelabeler
2022 - Data Warehouse - [time dimension table] - year, week and holiday
Experience of mathematical modeling in 18 year research competition
SQL Server connectors by thread pool 𞓜 instructions for dtsqlservertp plug-in
Recognition of high-speed road signs by Matlab using alexnet
R语言ggplot2可视化:ggplot2可视化散点图并使用geom_mark_ellipse函数在数据簇或数据分组的数据点周围添加椭圆进行注释
SQL Server Connectors By Thread Pool | DTSQLServerTP plugin instructions
Es error: request contains unrecognized parameter [ignore_throttled]
堡垒机、跳板机JumpServer的搭建,以及使用,图文详细