<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[coral_150的博客]]></title><description><![CDATA[前端学习笔记]]></description><link>https://blog.youkuaiyun.com/helloworlf</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; helloworlf]]></copyright><item><title><![CDATA[一文教会你如何使用闭包，包教包会！]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/136275365</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/136275365</guid><author>helloworlf</author><pubDate>Sat, 24 Feb 2024 21:39:42 +0800</pubDate><description><![CDATA[闭包，简单来说，就是为变量提供一个安全的、外部无法访问的作用域。本文将通过一个累加器的案例帮助理解闭包]]></description><category></category></item><item><title><![CDATA[HTML5-拖拽事件]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/136223673</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/136223673</guid><author>helloworlf</author><pubDate>Thu, 22 Feb 2024 16:53:56 +0800</pubDate><description><![CDATA[HTML5拖拽接口：在浏览器中实现拖放。例如，用户可使用鼠标选择可拖拽（draggable）元素，将元素拖拽到可放置（droppable）元素，并释放鼠标按钮以放置这些元素。拖拽操作期间，会有一个可拖拽元素的半透明快照跟随着鼠标指针。]]></description><category></category></item><item><title><![CDATA[Javascript中reduce高阶函数常用算法总结]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/135943956</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/135943956</guid><author>helloworlf</author><pubDate>Wed, 31 Jan 2024 10:38:28 +0800</pubDate><description><![CDATA[Javascript中reduce高阶函数常用算法总结]]></description><category></category></item><item><title><![CDATA[javascript中callback的使用]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/132996799</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/132996799</guid><author>helloworlf</author><pubDate>Mon, 18 Sep 2023 21:18:30 +0800</pubDate><description><![CDATA[javascript中callback的使用]]></description><category></category></item><item><title><![CDATA[element表格合并事件span-method传递额外参数]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/132749934</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/132749934</guid><author>helloworlf</author><pubDate>Fri, 08 Sep 2023 01:00:42 +0800</pubDate><description><![CDATA[使用el-table合并表格时,使用span-method方法进行合并,需要传递额外参数]]></description><category></category></item><item><title><![CDATA[vue-treeselect车辆树]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/132549556</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/132549556</guid><author>helloworlf</author><pubDate>Mon, 28 Aug 2023 22:35:59 +0800</pubDate><description><![CDATA[使用vue-treeselect组件实现一个下拉框多选车牌号的功能
]]></description><category></category></item><item><title><![CDATA[JavaScript Date 常用API总结]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/131741589</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/131741589</guid><author>helloworlf</author><pubDate>Sat, 15 Jul 2023 17:13:39 +0800</pubDate><description><![CDATA[JavaScript Date 常用API总结]]></description><category></category></item><item><title><![CDATA[Vue+Element动态表单校验]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/130757311</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/130757311</guid><author>helloworlf</author><pubDate>Fri, 19 May 2023 08:02:38 +0800</pubDate><description><![CDATA[Element UI动态生成表单以及进行校验 动态添加表单功能 话不多说直接上代码]]></description><category></category></item><item><title><![CDATA[JavaScript数组reduce求和]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/129439279</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/129439279</guid><author>helloworlf</author><pubDate>Fri, 10 Mar 2023 14:53:57 +0800</pubDate><description><![CDATA[JavaScript数组reduce累加器求和，通俗易懂包教包会]]></description><category></category></item><item><title><![CDATA[使用Vuex时报错提示Cannot read property ‘commit‘ of undefined终极解决]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/129406579</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/129406579</guid><author>helloworlf</author><pubDate>Wed, 08 Mar 2023 16:49:14 +0800</pubDate><description><![CDATA[使用Vuex时报错提示Cannot read property 'commit' of undefined`，检查了很久终于发现是版本冲突的问题！]]></description><category></category></item><item><title><![CDATA[前后端分离之跨域配置]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/129383244</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/129383244</guid><author>helloworlf</author><pubDate>Tue, 07 Mar 2023 15:42:58 +0800</pubDate><description><![CDATA[springboot+vue前后端跨域单独配置]]></description><category></category></item><item><title><![CDATA[el-select下拉框重复选择]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/127258286</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/127258286</guid><author>helloworlf</author><pubDate>Tue, 11 Oct 2022 11:05:53 +0800</pubDate><description><![CDATA[在用element做下拉框的时候，有时候要对多个下拉框的选择做出限制，例如一个下拉选了，另一个就不能重复选定。这里提供两种方法如下：]]></description><category></category></item><item><title><![CDATA[JS定时器同步异步问题(顺序执行)]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/127218127</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/127218127</guid><author>helloworlf</author><pubDate>Sat, 08 Oct 2022 23:11:08 +0800</pubDate><description><![CDATA[由于是定时器setTimeOut是异步的，运行结果是1 3 2现在通过promise实现1 2 3的顺序。]]></description><category></category></item><item><title><![CDATA[【MySQL自增主键不连续】]]></title><link>https://blog.youkuaiyun.com/helloworlf/article/details/124039848</link><guid>https://blog.youkuaiyun.com/helloworlf/article/details/124039848</guid><author>helloworlf</author><pubDate>Fri, 08 Apr 2022 14:14:56 +0800</pubDate><description><![CDATA[关于MySQL自增主键不连续的问题
在一张主键自增的表中，如果删除某些行数据，但发现主键不连续了，应该怎么解决？
直接上图
删除一些数据
delete from user 
where id = 7  or id = 11 or id = 12


删除了三行数据
原来的主键id是自增的，现在把id修改为普通字段，并删除主键
alter table user modify id int
alter table user drop primary key

新增一个自增主键  取名叫 id2  ，用来当工具人]]></description><category></category></item></channel></rss>