<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Go_going_的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Go_going_</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Go_going_]]></copyright><item><title><![CDATA[【vue3+js】文件下载方法整理]]></title><link>https://blog.csdn.net/Go_going_/article/details/149310505</link><guid>https://blog.csdn.net/Go_going_/article/details/149310505</guid><author>Go_going_</author><pubDate>Mon, 14 Jul 2025 11:09:01 +0800</pubDate><description><![CDATA[后端返回类型前端处理方式适用场景优点缺点文件URL直接创建a标签或window.open公开静态文件简单高效，浏览器管理下载需要文件公开可访问二进制流(Blob)设置responseType: ‘blob’，转为对象URL需要认证的私有文件安全，可处理权限控制需要内存管理Base64字符串解码Base64，转为Blob小文件或图片可直接嵌入数据大文件性能差文件ID/令牌二次请求获取实际文件需要严格权限控制的文件安全性高需要多次请求JSON包含文件信息。]]></description><category></category></item><item><title><![CDATA[终于搞懂hooks和pinia的区别了]]></title><link>https://blog.csdn.net/Go_going_/article/details/148830558</link><guid>https://blog.csdn.net/Go_going_/article/details/148830558</guid><author>Go_going_</author><pubDate>Tue, 24 Jun 2025 15:18:32 +0800</pubDate><description><![CDATA[Vue3开发中Hooks与Store的本质区别与使用场景分析：Hooks（如useList）每次调用创建独立状态，适合逻辑复用和局部状态管理；Pinia Store（如useListStore）为全局单例，适合跨组件状态共享。关键区别在于数据隔离性：Hooks默认不共享状态，Store自动同步全局状态。开发时应根据需求选择：逻辑复用用Hooks，状态共享用Store。避免将Hooks误作状态管理工具，也要防止Store过度集中化。混合使用时可通过将Store注入Hooks实现灵活架构。正确选择二者可有效解决]]></description><category></category></item><item><title><![CDATA[git操作案例 -设置远程分支，并提交到新远程新分支]]></title><link>https://blog.csdn.net/Go_going_/article/details/148808419</link><guid>https://blog.csdn.net/Go_going_/article/details/148808419</guid><author>Go_going_</author><pubDate>Sat, 21 Jun 2025 12:22:44 +0800</pubDate><description><![CDATA[在实际的开发中，经常会遇到这样的问题。拿到新项目是个二开或者是从别的仓库拿到的代码。这个时候自己先写了一部分的功能。写完代码要提交，发现远程仓库连接地址不对，这个时候已经提交了之后的操作。这个时候，需要更改远程分支，并将本地分支提交到远程的新分支(本地不存在这个分支)]]></description><category></category></item><item><title><![CDATA[Sequelize 表格操作大全]]></title><link>https://blog.csdn.net/Go_going_/article/details/148147205</link><guid>https://blog.csdn.net/Go_going_/article/details/148147205</guid><author>Go_going_</author><pubDate>Fri, 23 May 2025 11:14:57 +0800</pubDate><description><![CDATA[以下是 Sequelize 中常见的表格操作总结，涵盖字段操作、关联关系、索引和约束等。所有的操作一般应用在迁移文件所以如果没有迁移文件，需要先创建sequelize官网文档创建模型name: 模型的名称attributes: 模型的属性列表执行完下面命令，会在目录下创建一个迁移文件，里面就包含了创建表格的执行语句运行迁移(所有未执行) 在数据库中实际创建该表创建迁移文件(用于 表格字段增、删、改、查)如果创建模型之后，想要修改模型。]]></description><category></category></item><item><title><![CDATA[【vue3结合element-plus】实现路由动态渲染]]></title><link>https://blog.csdn.net/Go_going_/article/details/148081310</link><guid>https://blog.csdn.net/Go_going_/article/details/148081310</guid><author>Go_going_</author><pubDate>Tue, 20 May 2025 10:36:35 +0800</pubDate><description><![CDATA[在练习vue3路由的时候，发现如果添加路由，创造新的路由页面非常麻烦，每次都要在配置新的路由之后，需要手动添加新的菜单导航。就像下面这张图里的代码一样，每次都要在添加路由之后，重新加一条 router-link 比较繁琐。步骤，自动渲染新增路由对应菜单。，不包含children中的数据。在每次添加路由之后，省略。就是我想要的一级路由。]]></description><category></category></item><item><title><![CDATA[【localstorage、sessionStorage和cookie】]]></title><link>https://blog.csdn.net/Go_going_/article/details/147989790</link><guid>https://blog.csdn.net/Go_going_/article/details/147989790</guid><author>Go_going_</author><pubDate>Fri, 16 May 2025 11:40:52 +0800</pubDate><description><![CDATA[在实际前端开发中，数据存储是非常重要的。无论是保存用户登录状态、缓存接口数据，还是实现个性化设置，我们都需要选择合适的存储方案。常见的浏览器端存储方式包括和Cookie，它们各有优缺点，适用于不同的场景。本文将结合实际开发，简单介绍这三种存储方式存储方式何时使用？何时避免？Cookie需要服务端交互（如 JWT 认证）存储大量数据（4KB 限制）长期缓存（如用户设置）敏感数据（易被 XSS 攻击）临时数据（如表单草稿）需要跨标签页共享的数据最终推荐。]]></description><category></category></item><item><title><![CDATA[ajax，Promise 和 fetch]]></title><link>https://blog.csdn.net/Go_going_/article/details/147398050</link><guid>https://blog.csdn.net/Go_going_/article/details/147398050</guid><author>Go_going_</author><pubDate>Sun, 11 May 2025 17:31:58 +0800</pubDate><description><![CDATA[AJAX 不是编程语言，是一种从网页访问web服务器的技术。可以实现不刷新页面更新网页在页面加载后从服务器请求/获取数据在后台向服务器发送数据AJAX 等价于  Asynchronous JavaScript And XML.通俗的说，就像是拨打电话，首先要拿起电话打开通讯录拨号/查看通讯录点击拨打send()等待接通|| 接通后onload。]]></description><category></category></item><item><title><![CDATA[【js基础笔记] - 包含es6 类的使用]]></title><link>https://blog.csdn.net/Go_going_/article/details/147684686</link><guid>https://blog.csdn.net/Go_going_/article/details/147684686</guid><author>Go_going_</author><pubDate>Sun, 11 May 2025 09:55:40 +0800</pubDate><description><![CDATA[通俗的说，是在代码执行之前，先对代码进行通读和解释 ，之后执行代码。]]></description><category></category></item><item><title><![CDATA[【解决 el-table 树形数据更新后视图不刷新的问题】]]></title><link>https://blog.csdn.net/Go_going_/article/details/147427408</link><guid>https://blog.csdn.net/Go_going_/article/details/147427408</guid><author>Go_going_</author><pubDate>Tue, 22 Apr 2025 18:15:17 +0800</pubDate><description><![CDATA[在 Element Plus 的 el-table 中使用树形数据时，当数据更新后视图不自动刷新是一个常见问题。在这个场景中确保了 DOM 更新和组件内部状态更新的时序正确性，是解决 el-table 树形数据更新后视图同步问题的关键机制。el-table 的树形渲染机制在数据更新时不会自动重新计算节点状态，导致视图不更新。通过以上方法，应该能够解决 el-table 树形数据更新后视图不刷新的问题。虽然官方文档没有明确说明，但。对于 Vue 3，可以使用。]]></description><category></category></item><item><title><![CDATA[【localstorage问题记录】复杂数据存储方式]]></title><link>https://blog.csdn.net/Go_going_/article/details/147254181</link><guid>https://blog.csdn.net/Go_going_/article/details/147254181</guid><author>Go_going_</author><pubDate>Mon, 21 Apr 2025 14:47:18 +0800</pubDate><description><![CDATA[JSON.stringify存到localStorage。，包含给定对象自有的可枚举字符串键属性的。对于localstorage对。JSON.parse读取字符串。Map.entries迭代器。Array.from转为数组。new Map恢复结构。]]></description><category></category></item><item><title><![CDATA[xpath选择器]]></title><link>https://blog.csdn.net/Go_going_/article/details/136283241</link><guid>https://blog.csdn.net/Go_going_/article/details/136283241</guid><author>Go_going_</author><pubDate>Mon, 21 Apr 2025 14:15:51 +0800</pubDate><description><![CDATA[如果传入一个已存在的XPathResult对象，evaluate() 方法会把新的结果放在这个对象中。返回的结果类型取决于你的XPath表达式和你指定的 resultType。可以是一个已经存在的XPathResult 对象，用于存放结果，或 null。这个方法可以执行几乎任何 XPath 查询，并且可以返回不同类型的结果，返回一个 XPathResult 对象，该对象包含了表达式执行的结果。如果想要查询文档的某个特定部分，可以传入一个更具体的节点。一个字符串，是你想要执行的xpath表达式。]]></description><category></category></item><item><title><![CDATA[Vue 3 组合式 API 规范配合 Pinia]]></title><link>https://blog.csdn.net/Go_going_/article/details/147118155</link><guid>https://blog.csdn.net/Go_going_/article/details/147118155</guid><author>Go_going_</author><pubDate>Fri, 18 Apr 2025 10:33:04 +0800</pubDate><description><![CDATA[这种实现方式既保持了组合式 API 的灵活性，又通过 Pinia 提供了专业的状态管理方案，适合中大型项目使用。这样当你打开一个对话框时，其他对话框会自动关闭。设置 type1.visible = true。状态，确定用户点击的是哪个按钮。]]></description><category></category></item><item><title><![CDATA[postgresql命令行 && Sequlize基本操作指令]]></title><link>https://blog.csdn.net/Go_going_/article/details/140082355</link><guid>https://blog.csdn.net/Go_going_/article/details/140082355</guid><author>Go_going_</author><pubDate>Mon, 01 Jul 2024 20:55:39 +0800</pubDate><description><![CDATA[以下概念来自psql中文文档PostgreSQL是以加州大学伯克利分校计算机系开发的POSTGRES， 版本 4.2为基础的对象关系型数据库管理系统（ORDBMS）。POSTGRES 领先的许多概念在很久以后才出现在一些商业数据库系统中。psql是一个PostgreSQL的基于终端的前端。它让你能交互式地键入查询，把它们发送给PostgreSQL，并且查看查询结果。或者，输入可以来自于一个文件或者命令行参数。此外，psql还提供一些元命令和多种类似 shell 的特性来为编写脚本和自动化多种任务提供便利。]]></description><category></category></item><item><title><![CDATA[vue3基础笔记]]></title><link>https://blog.csdn.net/Go_going_/article/details/133680048</link><guid>https://blog.csdn.net/Go_going_/article/details/133680048</guid><author>Go_going_</author><pubDate>Fri, 17 May 2024 16:26:03 +0800</pubDate><description><![CDATA[监视reactive定义的对象类型数据，且默认开启深度监视name: '白马',skill: '日行千里'})Object.assign(person, { name: '雪', skill: '强制共白头' })// 监视console.log('监视person的数据变化', newValue, oldValue)})两组的结果对比若属性值不是对象类型，需要写成函数形式。若属性值依然是对象类型，可以直接编，也可以写成函数。name: '白马',skill: '日行千里',]]></description><category></category></item><item><title><![CDATA[【每天一个小技巧】vue3阻止键盘默认事件]]></title><link>https://blog.csdn.net/Go_going_/article/details/137048876</link><guid>https://blog.csdn.net/Go_going_/article/details/137048876</guid><author>Go_going_</author><pubDate>Mon, 01 Apr 2024 20:42:35 +0800</pubDate><description><![CDATA[vue3 结合wails go 开发的桌面应用exe 防止界面放大缩小；]]></description><category></category></item><item><title><![CDATA[文件处理 vue3+ts]]></title><link>https://blog.csdn.net/Go_going_/article/details/137245373</link><guid>https://blog.csdn.net/Go_going_/article/details/137245373</guid><author>Go_going_</author><pubDate>Mon, 01 Apr 2024 20:36:30 +0800</pubDate><description><![CDATA[需求：需要用户点击上传文件，并对上传的文件进行筛选判断例如：需要分别判断是视频文件，或音频文件；并需要对文件的大小或文件的显示名称接收；提示：以下是本篇文章正文内容，下面案例可供参考。]]></description><category></category></item><item><title><![CDATA[【typescript洗牌算法】随机选取3-5个数据]]></title><link>https://blog.csdn.net/Go_going_/article/details/136682292</link><guid>https://blog.csdn.net/Go_going_/article/details/136682292</guid><author>Go_going_</author><pubDate>Wed, 13 Mar 2024 15:55:32 +0800</pubDate><description><![CDATA[如果我有一串待处理数据，但是我想要一次随机抽取3-5个，并且要求每次取出的数据随机。]]></description><category></category></item><item><title><![CDATA[git仓库日常操作指令(不定期补充)]]></title><link>https://blog.csdn.net/Go_going_/article/details/136570956</link><guid>https://blog.csdn.net/Go_going_/article/details/136570956</guid><author>Go_going_</author><pubDate>Fri, 08 Mar 2024 21:26:12 +0800</pubDate><description><![CDATA[存放项目代码的地方，可以在文件系统中看到的一个目录。这个目录下有一个.git的子目录，包含了Git的所有元数据和对象数据库。托管在网络或其他位置的版本库，可以有多个（例如，GitHub、GitLab、gitea、gittee等）。一个独立的工作流，你可以在不影响主线（通常是main或master分支）的情况下进行开发和测试。当合并时，两个分支在同一部分代码上有不同的更改，Git无法自动解决。可以保存当前工作进度，将修改暂存，让你的工作目录回到上次提交的状态。将一个分支的更改合并到另一个分支上。]]></description><category></category></item><item><title><![CDATA[包管理工具npm yarn]]></title><link>https://blog.csdn.net/Go_going_/article/details/135582589</link><guid>https://blog.csdn.net/Go_going_/article/details/135582589</guid><author>Go_going_</author><pubDate>Wed, 28 Feb 2024 14:06:32 +0800</pubDate><description><![CDATA[关于npm的一些笔记学习笔记接上篇nodejs学前笔记nvm 全称 Node Version Manager允许通过命令行快速安装和使用不同版本的 nodejs。npm 和 yarn 的命令和操作差不多 学会一个第二个也差不多就会了这只是我的一个学习笔记  如果有问题欢迎指正。]]></description><category></category></item><item><title><![CDATA[随机数Math.random()]]></title><link>https://blog.csdn.net/Go_going_/article/details/136281609</link><guid>https://blog.csdn.net/Go_going_/article/details/136281609</guid><author>Go_going_</author><pubDate>Sun, 25 Feb 2024 14:12:25 +0800</pubDate><description><![CDATA[例如：随着人工智能的不断发展，机器学习这门技术也越来越重要，很多人都开启了学习机器学习，本文就介绍了机器学习的基础内容。提示：以下是本篇文章正文内容，下面案例可供参考。]]></description><category></category></item></channel></rss>