<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[二月的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/xxxxxxxxYZ</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; xxxxxxxxYZ]]></copyright><item><title><![CDATA[开发者工具和真机调试上传图片都没问题，体验版本上传出错，打开调试工具后就不报错]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/117736132</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/117736132</guid><author>xxxxxxxxYZ</author><pubDate>Wed, 09 Jun 2021 11:36:02 +0800</pubDate><description><![CDATA[问题：开发者工具和真机调试上传图片都没问题，体验版本上传出错，打开调试工具后就不报错

打开开发者工具右上角详情，检查“不校验合法域名、web-view（业务域名）、TLS 版本以及 HTTPS 证书”是否被勾选上，

如果已经被勾选上，就把勾选去掉，查看一下上传图片是否能正确上传

果然不能正确上传

报错：https://bwupload.linkdoc.com不在以下requerst合法域名列表中


...]]></description><category></category></item><item><title><![CDATA[webpack遇见的问题：options has an unknown property ‘plugins‘. These properties are valid]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/109369603</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/109369603</guid><author>xxxxxxxxYZ</author><pubDate>Thu, 29 Oct 2020 20:58:47 +0800</pubDate><description><![CDATA[错误描述：

ERROR in ./src/css/index.less (./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??postcss!./node_modules/less-loader/dist/cjs.js!./src/css/index.less)

Module build failed (from ./node_modules/postcss-loader/dist/cjs.js]]></description><category></category></item><item><title><![CDATA[gulp--解决watching  xx.html : watch task has to be a function的问题]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/109050370</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/109050370</guid><author>xxxxxxxxYZ</author><pubDate>Tue, 13 Oct 2020 14:33:52 +0800</pubDate><description><![CDATA[gulp监听，如果监听到文件有改动，会自动执行相应的任务，更新数据

错误提示：watching test.html: watch task has to be a function (optionally generated by using gulp.parallel or gulp.series)

使用gulp -v命令 检查gulp的版本是否是4.0以上

若是4.0 gulp.watch("test.html",gulp.series("任务名称"))




    /**
     * gu]]></description><category></category></item><item><title><![CDATA[gulp--解决Task function must be specified的问题]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/109049848</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/109049848</guid><author>xxxxxxxxYZ</author><pubDate>Tue, 13 Oct 2020 14:11:54 +0800</pubDate><description><![CDATA[gulp 一次性执行多个任务

报错：AssertionError [ERR_ASSERTION]: Task function must be specified

我之前写的代码：


gulp.task("build",["copyFile","images","data"],function(){ console.log("success") })

使用gulp -v命令 检查gulp的版本是否是4.0以上

gulp 4如果需要让任务（task）按顺序执行，需使用 ser...]]></description><category></category></item><item><title><![CDATA[vue遇见的问题（3） --- Unnecessary return statement  no-useless-return]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/106498414</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/106498414</guid><author>xxxxxxxxYZ</author><pubDate>Tue, 02 Jun 2020 16:11:22 +0800</pubDate><description><![CDATA[错误不必要的return语句没有无用的回报


修改前：
//添加新用户
addUser(){
this.$resf.addFormRef.validate(valid=&gt;{
console.log(valid)
if(!valid){
return
}
})
}

...]]></description><category></category></item><item><title><![CDATA[layui 动态插入select没有效果]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/106299862</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/106299862</guid><author>xxxxxxxxYZ</author><pubDate>Sat, 23 May 2020 14:44:43 +0800</pubDate><description><![CDATA[对于动态插入select ，form 模块的自动化渲染是失效的，需要执行 form.render(type, filter);

第一个参数：type，为表单的 type 类型

第二个参数：filter，为 class="layui-form" 所在元素的 lay-filter="" 的值。可以借助该参数，对表单完成局部更新




...]]></description><category></category></item><item><title><![CDATA[vue遇见的问题（2）---imported multiple times]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/106151176</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/106151176</guid><author>xxxxxxxxYZ</author><pubDate>Fri, 15 May 2020 22:49:25 +0800</pubDate><description><![CDATA[问题：

element-ui import次数过多



解决方式：

将要引入的组件写在一起，只写一个import { Button, Form, FormItem, Input } from ‘element-ui’






]]></description><category></category></item><item><title><![CDATA[vue遇见的问题（1）---注释问题]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/106151084</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/106151084</guid><author>xxxxxxxxYZ</author><pubDate>Fri, 15 May 2020 22:44:31 +0800</pubDate><description><![CDATA[问题：

用VS Code 写 Vue组件 ，用快捷键 alt+/  注释出现的是 // ，而不是&lt;!--头像区域--&gt;。

解决方式：


	首先在VS Code 安装Vue 2 Snippets插件。
	
	
	其次在settings.json中添加："files.associations": {"*.vue": "html"}。
	



...]]></description><category></category></item><item><title><![CDATA[windows安装nvm遇见的坑]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/105138076</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/105138076</guid><author>xxxxxxxxYZ</author><pubDate>Fri, 27 Mar 2020 13:05:19 +0800</pubDate><description><![CDATA[切记先卸载原先装的node.js！！！

否则会出现各种奇奇怪怪的问题！！！



1.下载nvm
	https://github.com/coreybutler/nvm-windows/releases
		选择nvm-setup.zip：这是一个安装包，下载之后点击安装，无需配置就可以使用，比较方便。
	
	2.安装
	步骤：一直next，提示完成安装即可。
	


检查是否成功：cmd输入n...]]></description><category></category></item><item><title><![CDATA[vue +koa报错--koa-cors使用的坑 No Access-Control-Allow-Origin header is present ..解决方法]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/99304796</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/99304796</guid><author>xxxxxxxxYZ</author><pubDate>Mon, 12 Aug 2019 15:40:12 +0800</pubDate><description><![CDATA[vue报错：

Access to XMLHttpRequest at 'http://localhost:3000/User/register' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the...]]></description><category></category></item><item><title><![CDATA[VUE报错[Vue warn]: Invalid prop: type check failed for prop "options"...解决方法]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/98971079</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/98971079</guid><author>xxxxxxxxYZ</author><pubDate>Fri, 09 Aug 2019 17:46:40 +0800</pubDate><description><![CDATA[vue.runtime.esm.js?2b0e:619 [Vue warn]: Invalid prop: type check failed for prop "options". Expected Object, got String with value "".












]]></description><category></category></item><item><title><![CDATA[vue 报错 Property or method "name" is not defined on the instance but referenced解决方法]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/98869757</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/98869757</guid><author>xxxxxxxxYZ</author><pubDate>Thu, 08 Aug 2019 14:27:36 +0800</pubDate><description><![CDATA[bannerPicArray 没有定义,设置一个初始值即可












]]></description><category></category></item><item><title><![CDATA[关于iframe的查找元素的几种情况]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/98217517</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/98217517</guid><author>xxxxxxxxYZ</author><pubDate>Fri, 02 Aug 2019 17:44:43 +0800</pubDate><description><![CDATA[iframe 嵌套多层 获取到最外层iframe
	不跨域的前提下，window.top就能获得最顶层的window对象，可以通过window.top.document.getElementById(...)或window.top.$(...)来查找元素了
	
	在父窗口中获取Iframe中的元素
	JQ：方式1: $("#iframe的id").contents().find("#iframe中...]]></description><category></category></item><item><title><![CDATA[vuecli3.0  引入vant报错Cannot find module 'babel-plugin-import' from '  '解决方法]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/98039393</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/98039393</guid><author>xxxxxxxxYZ</author><pubDate>Thu, 01 Aug 2019 11:12:30 +0800</pubDate><description><![CDATA[error in ./src/main.js



Module build failed (from ./node_modules/babel-loader/lib/index.js):

Error: Cannot find module 'babel-plugin-import' from 'd:\code\vue-test-0731'

at Function.modul...]]></description><category></category></item><item><title><![CDATA[记录工作时用到的CSS属性]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/97097871</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/97097871</guid><author>xxxxxxxxYZ</author><pubDate>Tue, 30 Jul 2019 16:50:06 +0800</pubDate><description><![CDATA[css换行：


word-break:break-all;只对英文起作用，以字母作为换行依据
word-wrap:break-word; 只对英文起作用，以单词作为换行依据
white-space:pre-wrap; 只对中文起作用，强制换行
white-space:nowrap; 强制不换行，都起作用
white-space:nowrap; overflow:hidden; text-over...]]></description><category></category></item><item><title><![CDATA[分享我工作中常用的css重置文件--reset.css]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/97792732</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/97792732</guid><author>xxxxxxxxYZ</author><pubDate>Tue, 30 Jul 2019 16:21:05 +0800</pubDate><description><![CDATA[不同的浏览器会按照自己的默认值来为没有定义的样式赋值，我们可以先定义好一些CSS样式，来让所有浏览器都按照同样的规则解释CSS，这样就能避免某些样式无法正常显示


html{width:100%;height: 100%;font-family: Microsoft YaHei;}
body{width:100%;height: 100%;}
body,div,dl,dt,dd,ul,ol,li...]]></description><category></category></item><item><title><![CDATA[关于阻止事件的冒泡、阻止默认事件以及return false 的区别]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/97791236</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/97791236</guid><author>xxxxxxxxYZ</author><pubDate>Tue, 30 Jul 2019 16:08:52 +0800</pubDate><description><![CDATA[event.preventDefault
这是阻止默认事件的方法，调用此方法是链接不会被打开，但是会发生冒泡，冒泡会传递到上一层的父元素；

event.stopPropagation
这是阻止事件的冒泡方法，不让事件向上蔓延，但是默认事件任然会执行，当调用这个方法时，假如去点击一个连接，这个链接仍然会被打开，

return false
这个方法会同事阻止事件冒泡也会阻止默认事件；return ...]]></description><category></category></item><item><title><![CDATA[兼容IE浏览器 媒体查询方法]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/96858336</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/96858336</guid><author>xxxxxxxxYZ</author><pubDate>Mon, 22 Jul 2019 14:47:15 +0800</pubDate><description><![CDATA[@media screen and(-ms-high-contrast:active),
(-ms-high-contrast:none){} IE10--IE11

@media screen and (min-width:0\0){} IE9--IE11

@media screen\9 {} IE7及以下

@media \0screen\,screen\9 {} IE8及以下

@med...]]></description><category></category></item><item><title><![CDATA[关于echarts折线图、柱状图简单封装的例子（附图）]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/96483364</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/96483364</guid><author>xxxxxxxxYZ</author><pubDate>Fri, 19 Jul 2019 16:37:01 +0800</pubDate><description><![CDATA[echarts官方配置项手册

echarts插件下载

ecStat.min.js是线性趋势变化（图中蓝色虚线）所需要引用的js

html：


&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;echarts折线图&lt;...]]></description><category></category></item><item><title><![CDATA[网络分层]]></title><link>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/96480871</link><guid>https://blog.youkuaiyun.com/xxxxxxxxYZ/article/details/96480871</guid><author>xxxxxxxxYZ</author><pubDate>Fri, 19 Jul 2019 14:58:58 +0800</pubDate><description><![CDATA[作者：阮一峰

我们每天使用互联网，你是否想过，它是如何实现的？

全世界几十亿台电脑，连接在一起，两两通信。上海的某一块网卡送出信号，洛杉矶的另一块网卡居然就收到了，两者实际上根本不知道对方的物理位置，你不觉得这是很神奇的事情吗？

互联网的核心是一系列协议，总称为"互联网协议"（Internet Protocol Suite）。它们对电脑如何连接和组网，做出了详尽的规定。理解了这些协议，就理解...]]></description><category></category></item></channel></rss>