当前位置:网站首页>About stepping on the pit diary and the association of knowledge points
About stepping on the pit diary and the association of knowledge points
2022-06-11 02:18:00 【Little mushroom lady in brick moving world】
// notes : The grammar of this article vue
1、vue in
:src=" Ternary judgment condition ? ****( Picture path ) : ****( Picture path )"
Put the picture path into data in , Such as Variable name : require("../../ Related path ") notes require To add ,web End displayable , however h5 Some mobile phones do not display
2、
let select = {
id: 123, name: 'ab' };
let old = {
id: 123, name: '123' };
// When select The value of is assigned to old When
this.old = {
...this.select } // Construction assignment : Do not use this method , If select Every time it changes ,old The values in the will change accordingly
// And so on If it's an array
let select = [{
},{
},{
}];
let old = [];
this.old = [ ...this.select ];
// Object construction
// Example :
function getData() {
return {
a: 42, b: 'foo' }
}
let {
a,b } = this.getData();
console.log(a,b); //42,'foo'
// amount to
let res = getData();
let a = res.a;
let b = res.b;
// Use scenarios : Interface
const {
data } = api. The interface name ();
//{data} When applied data, Interface returns data { data: {}, result: {}, code: 200}
边栏推荐
- CRS-4544 & ORA-09925
- Secret
- [3.delphi common components] 5 List class component
- cannot import name ‘dtensor‘ from ‘tensorflow. compat. v2.experimental‘
- SSH配置密钥登录时需要注意私钥是否设置了密码(passphrase)
- ABAP CDS实现多行字段内容拼接
- SAP SMARTFORMS文本内容手动换行输出
- Implementing queues with stacks
- MD61计划独立需求导入BAPI【按日维度/动态模板/动态字段】
- ---Arrange numbers---
猜你喜欢

软件测试面试复盘:技术面没有难倒我,hr面却是一把挂

Analysis of common ADB commands

Introduction and practice of QT tcp/udp network protocol (supplementary)

SAP SMARTFORMS换页打印自动判断

Orcale driver

Enrichment of core knowledge points of interface automation to add points to the interview

贵金属白银行情走势图缘何强势?

Find - (half find / half find)

Introduction and practice of QT tcp/udp network protocol (I) TCP communication

InfoQ 极客传媒 15 周年庆征文|容器运行时技术深度剖析
随机推荐
Infinite level classification (or menu) design
Introduction and practice of QT tcp/udp network protocol (supplementary)
优化调度(火电、风能、储能)【matlab代码实现】
QT database learning notes (II) QT operation SQLite database
Redis learning notes (continuously updating)
Test questions and answers of 2022r1 quick opening pressure vessel operation certificate
[Qt] Erreur: qapplication: No such file or directory Solution
C language practice (IX)
Orcale driver
koa2学习笔记
adb 常用命令解析
The female programmer gives out a salary slip: the salary is high, but she feels she is 10 years old
2022 safety officer-a certificate special operation certificate examination question bank and simulation examination
switch case使用枚举类来比较
1031. 两个非重叠子数组的最大和
[3.delphi common components] 4 Select class component
Find - (half find / half find)
双面材质【double sided】的Shader
Task05: tree
Battery control of QT widget (qpainter)