<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[m0_53579196的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/m0_53579196</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; m0_53579196]]></copyright><item><title><![CDATA[element在vue2/vue3中按需导入]]></title><link>https://blog.csdn.net/m0_53579196/article/details/132730321</link><guid>https://blog.csdn.net/m0_53579196/article/details/132730321</guid><author>m0_53579196</author><pubDate>Thu, 07 Sep 2023 09:24:50 +0800</pubDate><description><![CDATA[vue按需引入element]]></description><category></category></item><item><title><![CDATA[微信小程序behavior组件间代码共享]]></title><link>https://blog.csdn.net/m0_53579196/article/details/131197539</link><guid>https://blog.csdn.net/m0_53579196/article/details/131197539</guid><author>m0_53579196</author><pubDate>Tue, 13 Jun 2023 22:27:09 +0800</pubDate><description><![CDATA[/ 输出’my-behavior-data’this.myBehaviorMethod();// 输出’my-behavior-method’组件引用它时，它的属性、数据和方法会被合并到组件中，生命周期函数也会在对应时机被调用。每个behavior可以包含一组属性、数据、生命周期函数和方法。微信小程序中，behaviors是用于组件间代码共享的特性，// 使用behavior中的数据。// 使用behavior中的方法。]]></description><category></category></item><item><title><![CDATA[git命名]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130956669</link><guid>https://blog.csdn.net/m0_53579196/article/details/130956669</guid><author>m0_53579196</author><pubDate>Tue, 30 May 2023 20:37:51 +0800</pubDate><description><![CDATA[feature-xxx-fix（功能bug修复分支，feature分支合并之后发现bug，在develop上创建分支进行修复，之后合并回develop分支）feature-xxx（功能开发分支，在develop上创建分支，以自己开发功能模块命名，功能测试正常后合并到develop分支）develop（开发主分支，所有新功能以这个分支来创建自己的开发分支，该分支只做合并操作，不能直接在该分支上进行开发）hotfix-xxx（紧急bug修改分支，在master分支上创建，修复完成后合并到master）]]></description><category></category></item><item><title><![CDATA[git 常用操作]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130938253</link><guid>https://blog.csdn.net/m0_53579196/article/details/130938253</guid><author>m0_53579196</author><pubDate>Mon, 29 May 2023 22:51:17 +0800</pubDate><description><![CDATA[git push origin 分支名  将本地仓库的内容提交到远程仓库。git commit -m：提交文件到本地仓库。git add .   ：添加文件到暂存区。git init：初始化一个Git仓库。git status：查看仓库状态。git checkout：切换分支。git diff：查看修改内容。git branch：查看分支。git log：查看提交历史。git reset：回退版本。git merge：合并分支。初始化一个Git仓库。]]></description><category></category></item><item><title><![CDATA[路由守卫]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130816189</link><guid>https://blog.csdn.net/m0_53579196/article/details/130816189</guid><author>m0_53579196</author><pubDate>Mon, 22 May 2023 21:53:33 +0800</pubDate><description><![CDATA[/ 继续执行的操作----next   不执行next哪里都进不去！// 先判断是否要跳到mine页面(去mine页面的话 执行路由守卫)// next(‘/’)–next中的参数是要跳转的地址。// next()-----网页正常跳转。]]></description><category></category></item><item><title><![CDATA[项目中引入 axios--配置代理]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130774823</link><guid>https://blog.csdn.net/m0_53579196/article/details/130774823</guid><author>m0_53579196</author><pubDate>Fri, 19 May 2023 22:13:43 +0800</pubDate><description><![CDATA[同源策略：浏览器的一种安全协议，协议 主机(id/域名) 端口号  其中一个对应不上就会产生同源策略，从而产生跨域问题。写到 vue.config.js文件的  module.exports = defineConfig({})中。2、JS0NP ----------原理：script标签中src不受同源策略的影响(需要后端配合)问题:		 前端==>后端服务器(有跨域问题)解决办法: 前端==>代理==>后端服务器。1、后台直接放开-----不安全。3、配置代理(常用)]]></description><category></category></item><item><title><![CDATA[引入 axios]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130755549</link><guid>https://blog.csdn.net/m0_53579196/article/details/130755549</guid><author>m0_53579196</author><pubDate>Thu, 18 May 2023 21:18:34 +0800</pubDate><description><![CDATA[---地址中直接写文件  会从node_modules中找。-将axios导入到 mine.js入口函数中(因为所有页面都要用，项目启动会执行入口函数)终端中输入 npm i axios -S  下载axios。-挂载到Vue的原型上     在Vue原型中添加。下载完自动引入到dependencies中。]]></description><category></category></item><item><title><![CDATA[vue项目]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130735044</link><guid>https://blog.csdn.net/m0_53579196/article/details/130735044</guid><author>m0_53579196</author><pubDate>Wed, 17 May 2023 21:16:11 +0800</pubDate><description><![CDATA[npm i --save ant-design-vue@1    在终端中下载Ant Design of Vue 库。---->>>也是深层覆盖的意思  但是less不识别，会报错(删掉less  用css)@/views/indexView.vue    @  直接从src文件 开始找。更改vue.config.js内容   需要重启项目才能生效。cd abc   进入当目录的abc文件。vue -V   查看vue-cli版本。----/deep/  深层覆盖。/   返回上一级目录。]]></description><category></category></item><item><title><![CDATA[路由的基本使用]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130713852</link><guid>https://blog.csdn.net/m0_53579196/article/details/130713852</guid><author>m0_53579196</author><pubDate>Tue, 16 May 2023 20:48:08 +0800</pubDate><description><![CDATA[/ 路由高亮  自定义类名-------- 配置 linkActiveClass: '自定义的类名'// 传参也需要   3、创建映射关系中---路径后 加/:参数名。//路由的重定向----打开页面会自动在url后加  /index。//路径----要传参的话  路径后 加/:参数名。// 5、将路由实例挂载到vue实例上。//path中  不加  ///2、创建路由实例。//3、创建映射关系。//每个路由(页面)//每个路由(页面)//每个路由(页面)]]></description><category></category></item><item><title><![CDATA[父=＞子 组件传参]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130691664</link><guid>https://blog.csdn.net/m0_53579196/article/details/130691664</guid><author>m0_53579196</author><pubDate>Mon, 15 May 2023 20:04:21 +0800</pubDate><description><![CDATA[/ 属性名要和自定义的属性名相同 ----<child :parent_cars="carList"></child>//设置类型  可以设置多个类型，可以传Number也可以传String。// 设置默认值的时候必须使用函数，原理和data必须使用函数是一样的。// 定义父组件传过来的值。'这个一个默认的名字']]></description><category></category></item><item><title><![CDATA[子=＞父 组件传参]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130691602</link><guid>https://blog.csdn.net/m0_53579196/article/details/130691602</guid><author>m0_53579196</author><pubDate>Mon, 15 May 2023 20:02:06 +0800</pubDate><description><![CDATA[/ 子组件可以触发这个事件$emit('事件名字')也可以拿到子组件传递的数据。//获取子传来的参数。]]></description><category></category></item><item><title><![CDATA[组件]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130649836</link><guid>https://blog.csdn.net/m0_53579196/article/details/130649836</guid><author>m0_53579196</author><pubDate>Fri, 12 May 2023 20:41:41 +0800</pubDate><description><![CDATA[/ 第二个参数：对象{template:""}// 第一个参数：展示到页面的标签名。// 第一个参数：展示到页面的标签名。]]></description><category></category></item><item><title><![CDATA[vue生命周期]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130628338</link><guid>https://blog.csdn.net/m0_53579196/article/details/130628338</guid><author>m0_53579196</author><pubDate>Thu, 11 May 2023 18:49:24 +0800</pubDate><description><![CDATA[beforeUpdate，updated和其他生命周期区别这俩可以执行0次或者更多次其他生命周期只执行1次。]]></description><category></category></item><item><title><![CDATA[axios请求]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130609476</link><guid>https://blog.csdn.net/m0_53579196/article/details/130609476</guid><author>m0_53579196</author><pubDate>Wed, 10 May 2023 20:48:31 +0800</pubDate><description><![CDATA[get请求---------------------------post请求--------------------------在vue.js文件之后引入 axios.min.js 文件。axios.get/post()返回的是promise实例。请求写到  生命周期created(){}中！常见的请求头Content-Type。]]></description><category></category></item><item><title><![CDATA[vue 过滤器]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130586514</link><guid>https://blog.csdn.net/m0_53579196/article/details/130586514</guid><author>m0_53579196</author><pubDate>Tue, 09 May 2023 19:11:53 +0800</pubDate><description><![CDATA[第一个参数 过滤器的名字第二个参数 回调函数（data,format）data 管道符前面的数据format: 过滤器传过来的参数字符串 msg : 'hello' Vue . filter('setMsg' , function(data , format) {]]></description><category></category></item><item><title><![CDATA[数据双向绑定原理]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130564411</link><guid>https://blog.csdn.net/m0_53579196/article/details/130564411</guid><author>m0_53579196</author><pubDate>Mon, 08 May 2023 18:00:13 +0800</pubDate><description><![CDATA[通过Object.defineProperty()来劫持各个属性的setter，getter，vue 双向数据绑定是通过 数据劫持 结合 发布订阅模式的方式来实现的，在数据变动时发布消息给订阅者，触发相应的监听回调。]]></description><category></category></item><item><title><![CDATA[v-for中要用key的原因]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130533408</link><guid>https://blog.csdn.net/m0_53579196/article/details/130533408</guid><author>m0_53579196</author><pubDate>Sat, 06 May 2023 18:37:34 +0800</pubDate><description><![CDATA[这里，我们使用了item.id作为key，因为它是唯一的。这样，当items数组发生变化时，Vue可以根据key来正确地更新和移动对应的元素，而不是重新渲染整个列表。]]></description><category></category></item><item><title><![CDATA[MVC与MVVM的区别]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130515024</link><guid>https://blog.csdn.net/m0_53579196/article/details/130515024</guid><author>m0_53579196</author><pubDate>Fri, 05 May 2023 20:50:22 +0800</pubDate><description><![CDATA[viewModel(链接view层与Model层,起到承上启下的作用)controller 调度层：接收请求，处理数据，相应数据。view 视图层：展示数据；model 模型层：与数据库进行交涉。modal(业务逻辑，处理数据)MVC 是后端的分层开发概念;MVVM是前端视图层的概念;view（界面展示）]]></description><category></category></item><item><title><![CDATA[JS数组reduce()方法]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130494487</link><guid>https://blog.csdn.net/m0_53579196/article/details/130494487</guid><author>m0_53579196</author><pubDate>Thu, 04 May 2023 20:20:14 +0800</pubDate><description><![CDATA[reduce()方法接收一个函数作为累加器，数组中的每个值（从左到右）开始缩减，最终计算为一个值。注意: reduce() 对于空数组是不会执行回调函数的。可以看出它接收一个回调函数和一个初始值。其中total为初始值或者计算后的返回值（必须）、currentValue为当前元素（必须）、currentIndex为当前元素索引（可选）、arr为当前元素所属的对象（可选）、initialValue为传递给函数的初始值1、累加和累乘// 945。]]></description><category></category></item><item><title><![CDATA[Bootstrap]]></title><link>https://blog.csdn.net/m0_53579196/article/details/130418954</link><guid>https://blog.csdn.net/m0_53579196/article/details/130418954</guid><author>m0_53579196</author><pubDate>Fri, 28 Apr 2023 08:50:27 +0800</pubDate><description><![CDATA[栅格系统提供了基本的前缀，用于在不同宽度的屏幕中实现不同的排列方式，列的类名可以写多个，也就是可以同时设置.col-、.col-sm-、.col-md-、.co-/g-和.col-xl*类名。bootstrap组件依赖于Bootstrap框架，所以首先要引用bootstrap.min.css再引入jQuery文件，最后引入bootstrap.bundle.min.js，注意先后顺序，jQuery文件在bootstrap.bundle.min.js之前引入。组件是一个抽象的概念，是对数据和方法的简单封装。]]></description><category></category></item></channel></rss>