当前位置:网站首页>1.6一些今日学习
1.6一些今日学习
2022-08-02 03:23:00 【Ww597】
1.使用v-for时,会有出现想单独控制个别样式的操作,我们可以控制类名改变(根据索引值)



2. Symbol :表示独一无二的值,最大的用法是用来定义对象的唯一属性名
(1)Symbol函数前不能使用new命令,否则会报错。这是因为生成的 Symbol 是一个原始类型的值,不是对象。也就是说,由于 Symbol 值不是对象,所以不能添加属性。基本上,它是一种类似于字符串的数据类型
(2)Symbol 值不能与其他类型的值进行运算,会报错。
3. 同步和异步
同步异步的的差别就是在这条流水线(单线程)上各个执行的顺序不同
可以改变程序正常执行顺序的操作就是异步操作

同步任务:就是只有当前API执行完成之后,才能执行下一个API,在主线程上排队执行的任务,只有前一个任务执行完才会执行下一个任务
异步任务:当前API的执行不会阻塞后续代码的执行,进入任务队列中,就是要等主线程的任务执行完毕在进入到主线程然后才会执行
4.在APP的样式中控制了背景颜色后 想在vue本页面控制背景颜色的话,不能加scoped,用page来修改本页面的背景颜色,page 是其父节点,加了 scoped 自然失效
边栏推荐
- pyppeteer使用样例脚本
- oracle inner join and outer join
- Living to detect the Adaptive Normalized Representation Learning for GeneralizableFace Anti - Spoofing reading notes
- 微信小程序云开发之模糊搜索
- cross-domain problem solving
- 小程序 van-cell 换行能左对齐问题
- ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- subprocess.CalledProcessError: Command 'pip install 'thop'' returned non-zero exit status 1.
- 3 minutes to take you to understand WeChat applet development
- Phospholipid-polyethylene glycol-azide, DSPE-PEG-Azide, DSPE-PEG-N3, MW: 5000
猜你喜欢

环形链表---------约瑟夫问题

Amazon sellers how to improve the conversion

C语言的变长数组

Problems when yolov5 calls ip camera

Error in render: “TypeError: Cannot read properties of null (reading ‘0‘)“ 报错解决方案

canvas--饼状图
![[Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)](/img/da/5f6b1ed89cb3fed3cbe6aea840f473.png)
[Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)

Phospholipid-polyethylene glycol-targeted neovascularization targeting peptide APRPG, DSPE-PEG-APRPG

Cloud server installation and deployment of Nacos 2.0.4 version

简单黑马头条项目
随机推荐
由中序遍历和前序遍历得到后序遍历(树的遍历)
页面加载流程
display,visibility,opacity
4.14到新公司的一天
subprocess.CalledProcessError: Command 'pip install 'thop'' returned non-zero exit status 1.
DSPE-PEG-Silane, DSPE-PEG-SIL, phospholipid-polyethylene glycol-silane modified active group
DOM manipulation---magnifying glass case
Relative and absolute paths
Redis simple study notes
利用 nucleo stm32 f767zi 进行USART+DMA+PWM输入模式 CUBE配置
parser = argparse.ArgumentParser() parsing
np.isnan ()
L1-039 古风排版(C)
sh: 1: curl: not found
Debian 10 NTP Service Configuration
DSPE-PEG-PDP, DSPE-PEG-OPSS, phospholipid-polyethylene glycol-mercaptopyridine supply, MW: 5000
js基础知识
远程调试、无cuDnn、自定义模块无法导入问题记录
基本运算符
猴子选大王(约瑟环问题)