静网PWA视频评论

computed和watch的区别 侧重点有什么不同

2023年11月15日

- txt下载

computed和watch的区别:computed是计算属性;watch是监听,监听data中的数据变化。computed支持缓存,当其依赖的属性的值发生变化时,计算属性会重新计算,反之,则使用缓存中的属性值;watch不支持缓存,当对应属性发生变化的时候,响应执行。

computed和watch的区别


一、指代不同
1、computed: (用计算机或计数器)计算;估计。
2、watch:注视;看守;观看;手表;监视;看守;值班。
二、侧重点不同
1、computed: 多用于表示人在使用计算机或计算器在进行计算、估算。
2、watch:多用于表示对某事物或人的看守、监视;同时表示物体:手表之意。
三、引证用法不同
1、computed:compute作计算,估算解时,是正式用法,指计算结果、答案、数目等;用作及物动词时,可接名词、代词或that从句作宾语。
2、watch:watch的基本意思是观看、注视,指用眼睛跟踪某物以观察到每一个动作、变化、危险迹象、机会等。引申可表示照管、守护、保卫等,指明确需要警觉,做好防止危险发生的准备,强调连续性和职务性。

computed和watch的造句


1、computed tomographic scanner for whole body
2、A chest computed tomography showed esophageal cancer with pneumopericardium.
3、Scientists have computed the probable course of the rocket.
4、an arithmetic operation that is the inverse of multiplication; the quotient of two numbers is computed.
5、The magnitudes of the rectangular components of a vector are easily computed.
6、Here, now watch how I cut this, OK?
嘿,现在看我怎样切,好吗?
7、The gold watch should be put up in a safe place.
这只金表应放在一个安全的地方。
8、What sort of man can stand by 'idly and watch his own brother being burned alive?
世上怎么会有人眼看着自己的亲生兄弟活活烧死,还站在一旁无动于衷呢?
9、I had my watch mended
我已把我的表修好。
10、I traded my watch for a bicycle.
我用我的手表换了一辆自行车。

收藏

相关推荐

清纯唯美图片大全

字典网 - 试题库 - 元问答 - 繁體 - 顶部

Copyright © cnj8 All Rights Reserved.