<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[-ELZ- ]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/CEZLZ</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; CEZLZ]]></copyright><item><title><![CDATA[简单学习一下 Pinia]]></title><link>https://blog.csdn.net/CEZLZ/article/details/123580919</link><guid>https://blog.csdn.net/CEZLZ/article/details/123580919</guid><author>CEZLZ</author><pubDate>Fri, 18 Mar 2022 17:52:39 +0800</pubDate><description><![CDATA[文章目录引入 Pinia创建 Store在组件中读取 Store 数据在组件中修改 Store 数据对 Store 进行解构修改 Store 状态数据的多种方式Getters 的使用Store 的互相调用
引入 Pinia
首先在 main.ts 中引入 pinia，通过 createPinia 创建 pinia 实例，然后挂载到 Vue 根实例上。
import { createApp } from 'vue'
import App from './App.vue'
import { createPini]]></description><category></category></item><item><title><![CDATA[ES6 新特性]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121499299</link><guid>https://blog.csdn.net/CEZLZ/article/details/121499299</guid><author>CEZLZ</author><pubDate>Wed, 24 Nov 2021 00:18:29 +0800</pubDate><description><![CDATA[文章目录函数的扩展参数的默认值
函数的扩展
参数的默认值
// ES5 写法
function log(x, y) {
	if (typeof y === 'undefined') {
		y = 100;
	}
	console.log(x, y);
}

log(10);     // 10 100
log(10, 20); // 10 20

// ES6 写法
function log(x, y = 100) {
	console.log(x, y);
}

log(10);     // 10 1]]></description><category></category></item><item><title><![CDATA[for...in 和 for...of]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121497394</link><guid>https://blog.csdn.net/CEZLZ/article/details/121497394</guid><author>CEZLZ</author><pubDate>Tue, 23 Nov 2021 17:42:31 +0800</pubDate><description><![CDATA[文章目录for...infor...of区别
for…in
for...in语句以任意顺序遍历一个对象的除 Symbol 以外的可枚举属性，包括继承的可枚举属性。
基本用法：
const cat = {
  name: "Tom",
  age: 100,
};

const color = Symbol("color");
cat[color] = "pink";

console.log(cat); // { name: "Tom", age: 100, Symbol(color): "pink" }
]]></description><category></category></item><item><title><![CDATA[Array.prototype.reduce()]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121441661</link><guid>https://blog.csdn.net/CEZLZ/article/details/121441661</guid><author>CEZLZ</author><pubDate>Sat, 20 Nov 2021 21:17:04 +0800</pubDate><description><![CDATA[Array.prototype.reduce()
reduce()方法对数组中的每个元素执行提供的reducer函数，将其结果汇总为单个返回值。
语法：
arr.reduce(callback(acc, cur [, idx [, array]]) [, initialValue])


acc：累加器
表示上一次调用累加器的返回值，或设置的initialValue值，如果没设置initialValue，则acc为数组的第一个元素值。

const arr = [1, 2, 3, 4, 5];

// 未设]]></description><category></category></item><item><title><![CDATA[JS 实现继承的 5 种方式]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121390477</link><guid>https://blog.csdn.net/CEZLZ/article/details/121390477</guid><author>CEZLZ</author><pubDate>Fri, 19 Nov 2021 10:59:21 +0800</pubDate><description><![CDATA[文章目录继承原型链继承原型链继承的优缺点
继承
原型链继承
继承作为面向对象语言的三大特性之一（继承、封装和多态），可以在不影响父类对象实现的情况下，使得子类对象具有父类对象的特性，同时还能在不影响父类对象行为的情况下扩展子类对象独有的特性，为编码带来了极大的便利。
原型链继承的优缺点

...]]></description><category></category></item><item><title><![CDATA[创建对象的 7 种方式]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121366499</link><guid>https://blog.csdn.net/CEZLZ/article/details/121366499</guid><author>CEZLZ</author><pubDate>Tue, 16 Nov 2021 23:43:08 +0800</pubDate><description><![CDATA[文章目录基于对象字面量基于 Object() 构造函数基于工厂方法模式基于构造函数模式基于原型对象的模式构造函数和原型混合的模式基于动态原型模式参考
基于对象字面量
对象字面量本身就是一些列键值对的组合，每个属性之间通过逗号分隔。
const obj = {
	name: 'Tom',
	age: 100,
	getAge() {
		return this.age;
	}
}


基于 Object() 构造函数
通过 Object() 对象的构造函数生成一个实例，然后给他们增加需要的各种属性。
// 通]]></description><category></category></item><item><title><![CDATA[VScode 的安装和使用]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121352169</link><guid>https://blog.csdn.net/CEZLZ/article/details/121352169</guid><author>CEZLZ</author><pubDate>Tue, 16 Nov 2021 11:45:26 +0800</pubDate><description><![CDATA[文章目录下载VSCode 提示“安装视乎顺坏、请重新安装”
下载
VScode 下载慢的解决方法：
点击跳转至官网

点击下载


2. 来到下载页面后，右击复制下载链接。

3. 把下载链接中的域名（红线部分）改为vscode.cdn.azure.cn回车即可。

VSCode 提示“安装视乎顺坏、请重新安装”
解决方法：
第一步：安装Fix VSCode Checksums 插件

第二步：Ctrl + Shift + p，输入Fix Checksums:Apply 后回车，重启即可。


...]]></description><category></category></item><item><title><![CDATA[ES6 数组的扩展：扩展运算符]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121248727</link><guid>https://blog.csdn.net/CEZLZ/article/details/121248727</guid><author>CEZLZ</author><pubDate>Wed, 10 Nov 2021 15:44:17 +0800</pubDate><description><![CDATA[文章目录扩展运算符应用
扩展运算符
扩展运算符（…）作用是将一个数组转为用逗号分隔的参数序列。
console.log(...[1, 2, 3]);  // 1 2 3

console.log(1, ...[2, 3]);  // 1 2 3

该运算符主要用于函数调用：
function _push(arr, ...items) { // 这里的 ...items 将会以数组的形式接收所有剩余的参数
	console.log(items);  // [2, 3]
	arr.push(...items);]]></description><category></category></item><item><title><![CDATA[数据结构：栈与队列]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121211743</link><guid>https://blog.csdn.net/CEZLZ/article/details/121211743</guid><author>CEZLZ</author><pubDate>Mon, 08 Nov 2021 17:52:36 +0800</pubDate><description><![CDATA[文章目录栈队列参考资料
栈
栈是一种线性的、后进先出的数据结构。
进栈：

出栈：

使用 JS 实现栈：
class Stack {
  /**存储栈中的数据 */
  stack = [];

  /**
   * 添加一个元素到栈中（进栈）
   * @param {*} item 数据
   */
  push(item) {
    this.stack.push(item);
  }

  /**
   * 获取栈的最后一个元素（出栈）
   * @returns "栈为空" || 元素
   ]]></description><category></category></item><item><title><![CDATA[JS 中常用判断为空的方法]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121153716</link><guid>https://blog.csdn.net/CEZLZ/article/details/121153716</guid><author>CEZLZ</author><pubDate>Thu, 04 Nov 2021 23:25:27 +0800</pubDate><description><![CDATA[文章目录1 判断变量为空对象2 判断变量为空数组3 判断变量为空字符串
1 判断变量为空对象
判断一个变量是否为空对象时，可以通过 for...in 语句遍历变量的属性，然后调用 hasOwnProperty() 函数，判断是否有自身存在的属性，如果存在则不为空对象。
function isEmpty(obj) {
  for (item in obj) {
    if (obj.hasOwnProperty(item)) {
      return false;
    }
  }

  return]]></description><category></category></item><item><title><![CDATA[简单学习常见算法]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121141577</link><guid>https://blog.csdn.net/CEZLZ/article/details/121141577</guid><author>CEZLZ</author><pubDate>Thu, 04 Nov 2021 22:52:38 +0800</pubDate><description><![CDATA[1 字符串逆序输出算法
1.1 使用 reverse() 函数
首先将字符串转换为字符数组，然后通过调用原生的reverse()函数进行逆序，得到逆序数组后再通过join()函数得到逆序字符串。
function reverseStr(str) {
  return str
    .split("")
    .reverse()
    .join("");
}

let str = "abcdefg";
console.log(reverseStr(str));


1.2 使用栈的先进后出原则
栈是]]></description><category></category></item><item><title><![CDATA[在电脑上查看WIFI的密码]]></title><link>https://blog.csdn.net/CEZLZ/article/details/121011161</link><guid>https://blog.csdn.net/CEZLZ/article/details/121011161</guid><author>CEZLZ</author><pubDate>Thu, 28 Oct 2021 11:38:28 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[数据库系统原理-第一章：数据库系统概述]]></title><link>https://blog.csdn.net/CEZLZ/article/details/120970103</link><guid>https://blog.csdn.net/CEZLZ/article/details/120970103</guid><author>CEZLZ</author><pubDate>Wed, 27 Oct 2021 15:07:57 +0800</pubDate><description><![CDATA[文章目录1 数据库基本概念2 数据库管理技术的发展
1 数据库基本概念
⏳『数据概念』(识记)
数据（Data）是描述事物的符号记录，是指利用物理符号记录下来的、可以鉴别的信息。

⏳『数据库概念』(识记)
数据库（Database，DB）是指长期储存在计算机中的有组织的、可共享的数据集合。
数据要按照一定的数据模型组织、描述和存储，具有较小的冗余度（不必要的多次重复的数据不必多次存储）、较高的数据独立性，系统易于扩展，并可以被多个用户分享。

⏳『数据库存储的数据三个基本特点』(识记)

永久存储
有组织]]></description><category></category></item><item><title><![CDATA[数组的浅拷贝与深拷贝]]></title><link>https://blog.csdn.net/CEZLZ/article/details/120847208</link><guid>https://blog.csdn.net/CEZLZ/article/details/120847208</guid><author>CEZLZ</author><pubDate>Wed, 20 Oct 2021 10:30:42 +0800</pubDate><description><![CDATA[文章目录1 数据类型2 浅拷贝与深拷贝3 实现深拷贝方法3.1  JSON.string() 结合 JSON.parse()3.2 递归4 JS 中的拷贝方法4.1 concat4.2 slice4.3 ...4.4 Object.assign5 以上方法比较6 参考文章
1 数据类型
在 JavaScript 中，数据被分为基本数据类型和引用数据类型。
⏳ 基本数据类型有：

String
Number
Boolean
Undefined
Null
Symbol（ES 6 新增的数据类型）

⏳ 引用数据]]></description><category></category></item><item><title><![CDATA[简单学习 CSS3 新特性]]></title><link>https://blog.csdn.net/CEZLZ/article/details/120826525</link><guid>https://blog.csdn.net/CEZLZ/article/details/120826525</guid><author>CEZLZ</author><pubDate>Tue, 19 Oct 2021 11:46:22 +0800</pubDate><description><![CDATA[文章目录1 边框1.1 圆角1.2 阴影1.3 边框图像2 渐变(Gradients)2.1 线性渐变2.2 径向渐变
1 边框
新边框属性




属性
说明




border-radius
用于设置元素的外边框圆角


box-shadow
用于在元素的框架上添加阴影效果


border-image
用于在元素的边框上绘制图



1.1 圆角
border-radius 属性是一个简写属性，是将这四个属性border-top-left-radius、border-top-right-radiu.]]></description><category></category></item><item><title><![CDATA[事件修饰符]]></title><link>https://blog.csdn.net/CEZLZ/article/details/120821596</link><guid>https://blog.csdn.net/CEZLZ/article/details/120821596</guid><author>CEZLZ</author><pubDate>Mon, 18 Oct 2021 12:07:00 +0800</pubDate><description><![CDATA[文章目录1️⃣ `.stop`2️⃣ `.prevent`3️⃣ `.capture`4️⃣ `.self`5️⃣ `.once`6️⃣ `.passive`
1️⃣ .stop
作用：阻止单击事件继续传播（阻止事件冒泡和事件捕获）
&lt;template&gt;
  &lt;div @click="divClick"&gt;
    &lt;button @click="btn1Click"&gt;按钮_1&lt;/button&gt;
    &lt;button @click.stop="btn2.]]></description><category></category></item><item><title><![CDATA[JavaScript 总结]]></title><link>https://blog.csdn.net/CEZLZ/article/details/120491789</link><guid>https://blog.csdn.net/CEZLZ/article/details/120491789</guid><author>CEZLZ</author><pubDate>Thu, 14 Oct 2021 10:32:17 +0800</pubDate><description><![CDATA[文章目录1 “use strict” 是什么意思？2 数据类型转换3 0.1 + 0.2 !== 0.34 typeof null === 'object'5 null，undefined 的区别？6 break 与 continue 有什么区别？7 obj.name 与 obj[name] 与 obj.['name']8 原型链9 new 关键字做了什么？10. 执行上下文栈11. 垃圾回收机制12. 扁平数组13. 递归1~100的和14 单线程和多线程15. 事件循环16. setTimeout 倒.]]></description><category></category></item><item><title><![CDATA[数组去重方法总结]]></title><link>https://blog.csdn.net/CEZLZ/article/details/120719206</link><guid>https://blog.csdn.net/CEZLZ/article/details/120719206</guid><author>CEZLZ</author><pubDate>Tue, 12 Oct 2021 16:07:47 +0800</pubDate><description><![CDATA[文章目录1. 双层 for 循环2. for 循环 + indexOf()3. filter() + indexOf()4. for 循环 + includes()5. reduce() + includes()6. sort()ES6 语法去重7. Set()8. Map()特殊类型比较
1. 双层 for 循环
var array = [1, 1, "1", "1", 1];

// 写法一
function unique(arr) {
  let res = [...array];

  for (.]]></description><category></category></item><item><title><![CDATA[计算机网络原理-第七章：无线与移动网络]]></title><link>https://blog.csdn.net/CEZLZ/article/details/120637760</link><guid>https://blog.csdn.net/CEZLZ/article/details/120637760</guid><author>CEZLZ</author><pubDate>Sat, 09 Oct 2021 23:49:55 +0800</pubDate><description><![CDATA[文章目录1 无线网络1.1 无线网络基本结构1.2 无线链路与无线网络特性2 移动网络2.1 移动网络基本原理2.2 寻址2.3 移动节点的路由选择3 无线局域网 IEEE 8802.11

1 无线网络
1.1 无线网络基本结构
无线网络基本组成主要包括以下几个部分：

无线主机
无线链路
基站
网络基础设施
自组织网络（Ad Hoc网络）


1.2 无线链路与无线网络特性
无线网络与有线网络最主要的区别是使用了无线链路，而无线链路标准的两种主要特性为覆盖区域和链路速率。
无线链路与有线链路的主要区别：]]></description><category></category></item><item><title><![CDATA[计算机网络原理-第八章：网络安全基础]]></title><link>https://blog.csdn.net/CEZLZ/article/details/120670626</link><guid>https://blog.csdn.net/CEZLZ/article/details/120670626</guid><author>CEZLZ</author><pubDate>Sat, 09 Oct 2021 23:48:36 +0800</pubDate><description><![CDATA[目录1 网络安全概述1.1 基本概念1.2 网络安全威胁2 数据加密2.1 传统加密方式2.2 对称密钥加密2.3 非对称/公开密钥加密3 消息完整性与数字签名3.1 消息完整性检测方法3.2 报文认证3.3 数字签名4 身份认证5 密钥分发中心与证书认证机构5.1 密钥分发中心5.2 证书认证机构
1 网络安全概述
1.1 基本概念
⏳ 网络安全通信所需要的基本属性：

机密性
消息完整性
可访问与可用性
身份认证


1.2 网络安全威胁
⏳ 网络安全主要面临的威胁：

窃听
插入
假冒
劫持
拒绝服务]]></description><category></category></item></channel></rss>