<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[秋实的博客]]></title><description><![CDATA[追求自我的提升才是最稳健的投资]]></description><link>https://blog.csdn.net/maryword</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; maryword]]></copyright><item><title><![CDATA[vue2.0 inject/provide 传参监听不到问题]]></title><link>https://blog.csdn.net/maryword/article/details/155454404</link><guid>https://blog.csdn.net/maryword/article/details/155454404</guid><author>maryword</author><pubDate>Mon, 01 Dec 2025 17:26:59 +0800</pubDate><description><![CDATA[开始孙页面一直监听不到，尝试很多办法都不行，快要放弃时候发现，原来是祖页面初始化对象时候，没有初始化孙页面需要监听的属性，导致该属性不具备响应式。既然理论上通过inject/provide 传参应该是可行的，那么就项目中代码问题了。很奇怪孙页面一直监听不到。我们项目是2.6.10版本，看。]]></description><category></category></item><item><title><![CDATA[el-pagination 分页组件前往XX页输入框无法输入]]></title><link>https://blog.csdn.net/maryword/article/details/148847750</link><guid>https://blog.csdn.net/maryword/article/details/148847750</guid><author>maryword</author><pubDate>Mon, 23 Jun 2025 15:32:29 +0800</pubDate><description><![CDATA[解决：研究一上午，换各种方法都没找到解决方案，下午无意间发现，该输入框样式貌似有问题，宽度居然时0，试着加了些宽度，发现OK了。然后细看，为什么它的宽度是0，才发现该模块有个全局样式。场景：项目中单个模块中，el-table下面要使用分页，结果发现其他模块都OK，就当前页面的分页组件，无法输入跳转页数。就这个要命的样式，导致小分页组件的输入框无法输入。把这个内间距改掉立马就好了。]]></description><category></category></item><item><title><![CDATA[vue中oninput和@input区别]]></title><link>https://blog.csdn.net/maryword/article/details/141924488</link><guid>https://blog.csdn.net/maryword/article/details/141924488</guid><author>maryword</author><pubDate>Thu, 05 Sep 2024 11:20:40 +0800</pubDate><description><![CDATA[:oninput
@input]]></description><category></category></item><item><title><![CDATA[elementui 日历组件el-calendar使用总结]]></title><link>https://blog.csdn.net/maryword/article/details/140369907</link><guid>https://blog.csdn.net/maryword/article/details/140369907</guid><author>maryword</author><pubDate>Mon, 15 Jul 2024 10:01:29 +0800</pubDate><description><![CDATA[自定义elementui日历组件]]></description><category></category></item><item><title><![CDATA[js 不同方式创建对象 不同区别]]></title><link>https://blog.csdn.net/maryword/article/details/126425408</link><guid>https://blog.csdn.net/maryword/article/details/126425408</guid><author>maryword</author><pubDate>Fri, 19 Aug 2022 15:55:36 +0800</pubDate><description><![CDATA[JavaScript  Object创建  prototype]]></description><category></category></item><item><title><![CDATA[Ghrome 63.0.3239 （正式版本）不兼容overflow:hidden auto；]]></title><link>https://blog.csdn.net/maryword/article/details/125595561</link><guid>https://blog.csdn.net/maryword/article/details/125595561</guid><author>maryword</author><pubDate>Mon, 04 Jul 2022 10:47:22 +0800</pubDate><description><![CDATA[overflow兼容性]]></description><category></category></item><item><title><![CDATA[工作中常犯的js报错阻塞后面代码问题]]></title><link>https://blog.csdn.net/maryword/article/details/125422600</link><guid>https://blog.csdn.net/maryword/article/details/125422600</guid><author>maryword</author><pubDate>Thu, 23 Jun 2022 10:49:57 +0800</pubDate><description><![CDATA[js阻塞vue页面渲染
js代码严谨]]></description><category></category></item><item><title><![CDATA[js onmousemove使用注意：进入onmousemove不代表移动鼠标]]></title><link>https://blog.csdn.net/maryword/article/details/125218220</link><guid>https://blog.csdn.net/maryword/article/details/125218220</guid><author>maryword</author><pubDate>Fri, 10 Jun 2022 11:34:49 +0800</pubDate><description><![CDATA[判断鼠标是进行的移动事件还是点击事件  onmousemove]]></description><category></category></item><item><title><![CDATA[element-ui dialog :destroy-on-close=“true“ 踩坑]]></title><link>https://blog.csdn.net/maryword/article/details/125217716</link><guid>https://blog.csdn.net/maryword/article/details/125217716</guid><author>maryword</author><pubDate>Fri, 10 Jun 2022 11:09:15 +0800</pubDate><description><![CDATA[el-dialog关闭时，摧毁其中子组件
destroy-on-close]]></description><category></category></item><item><title><![CDATA[element-ui 级联选择器el-cascader踩坑]]></title><link>https://blog.csdn.net/maryword/article/details/125215866</link><guid>https://blog.csdn.net/maryword/article/details/125215866</guid><author>maryword</author><pubDate>Fri, 10 Jun 2022 10:27:39 +0800</pubDate><description><![CDATA[el-cascader 级联选择器 下拉选项选中不刷新；数据回显慢；]]></description><category></category></item><item><title><![CDATA[命令行创建vue项目，无法选择]]></title><link>https://blog.csdn.net/maryword/article/details/124815836</link><guid>https://blog.csdn.net/maryword/article/details/124815836</guid><author>maryword</author><pubDate>Tue, 17 May 2022 10:27:16 +0800</pubDate><description><![CDATA[vue项目创建，preset 无法选择]]></description><category></category></item><item><title><![CDATA[统信UOS安装.bundle文件]]></title><link>https://blog.csdn.net/maryword/article/details/120667961</link><guid>https://blog.csdn.net/maryword/article/details/120667961</guid><author>maryword</author><pubDate>Sat, 09 Oct 2021 11:39:13 +0800</pubDate><description><![CDATA[输入命令 sudo su ，切换到root

赋予权限 sudo chmod +x XXXX.bundle

安装文件 sudo ./XXXX.bundle

然后弹出安装框，正常点击安装即可。


]]></description><category></category></item><item><title><![CDATA[vscode配置svn 解决Svn installation not found.问题]]></title><link>https://blog.csdn.net/maryword/article/details/119607375</link><guid>https://blog.csdn.net/maryword/article/details/119607375</guid><author>maryword</author><pubDate>Wed, 11 Aug 2021 15:13:41 +0800</pubDate><description><![CDATA[今天忽然很想把vscode的svn配置起来，之前配置过vscode里面总是显示 Svn installation not found.svn路径检查也没问题，最终得知是因为安装的svn的bin文件里面没有svn.exe文件。在安装svn的时候，注意这一点：勾选command line client tools项，并且主要选择第一项，如下图：



这样安装完后再看bin文件，发现svn.exe出现了，ok。重启vscode，配置svn:checkout即可。

参考文章：https://blog.cs...]]></description><category></category></item><item><title><![CDATA[各浏览器不兼容时间戳]]></title><link>https://blog.csdn.net/maryword/article/details/113185198</link><guid>https://blog.csdn.net/maryword/article/details/113185198</guid><author>maryword</author><pubDate>Tue, 26 Jan 2021 17:49:19 +0800</pubDate><description><![CDATA[苹果和IE浏览器下，不能识别“2021-01-26 12:23:21”这种“-”连接的时间，需要将其转换成“/”连接，写代码老是忘掉，谨记谨记

new Date("2021-01-26 12:23:21").replace(/-/g,'/').getTime()
]]></description><category></category></item><item><title><![CDATA[兼容IE8表单布局]]></title><link>https://blog.csdn.net/maryword/article/details/111678498</link><guid>https://blog.csdn.net/maryword/article/details/111678498</guid><author>maryword</author><pubDate>Fri, 25 Dec 2020 16:53:25 +0800</pubDate><description><![CDATA[最近一个页面上有一个这样的布局模块，如果不考虑IE8，很简单，用flex之类很多方式都可以轻松简单搞定。但现在需要考虑兼容IE8，并且响应式页面，要ipad等不同分辨率下都能良好显示。]]></description><category></category></item><item><title><![CDATA[Chrome 83.0.4103.61版本文本获焦时默认自带黑框]]></title><link>https://blog.csdn.net/maryword/article/details/111498262</link><guid>https://blog.csdn.net/maryword/article/details/111498262</guid><author>maryword</author><pubDate>Fri, 25 Dec 2020 12:14:29 +0800</pubDate><description><![CDATA[Chrome 83.0.4103.61版本文本获焦时默认自带黑框
最近在用vue.js直接引入方式开发一个页面，嵌入公司的老项目，使用element-ui，唉，用着element-ui的组件，要调成ext.js的样式
参考文档

]]></description><category></category></item><item><title><![CDATA[IE10 vue SCRIPT5022: SecurityError]]></title><link>https://blog.csdn.net/maryword/article/details/109179397</link><guid>https://blog.csdn.net/maryword/article/details/109179397</guid><author>maryword</author><pubDate>Tue, 20 Oct 2020 13:41:50 +0800</pubDate><description><![CDATA[vue中使用 particles.js，IE10下报错SCRIPT5022: SecurityError

原因是 对canvas使用toDataURL时出现 "SCRIPT5022: SecurityError" 错误。

找到particles.js，将toDataURL这行注释掉，换成 XMLHttpRequest 方式即可：


pJS.fn.vendors.exportImg=function(){

//window.open(pJS.canvas.el.toDataURL('...]]></description><category></category></item><item><title><![CDATA[解决vue i18n 项目中 title 双英 切换问题]]></title><link>https://blog.csdn.net/maryword/article/details/107489069</link><guid>https://blog.csdn.net/maryword/article/details/107489069</guid><author>maryword</author><pubDate>Tue, 21 Jul 2020 15:31:12 +0800</pubDate><description><![CDATA[主要问题点在于 router 中无法用 this.$t('xxx.xx') 方法来进行翻译，会报错 this.$t is not a function 。而在main.js中可以试用，所以就做了一下处理：

main.js文件：


const i18n = new Vue18n({
  locale: lan,
  messages: {
    zh: require("./assets/i18n/zh"),
    en: require("./assets/i18n/en")
  },
  sile]]></description><category></category></item><item><title><![CDATA[解决Elementui upload多图上传回调只执行一次问题]]></title><link>https://blog.csdn.net/maryword/article/details/107407180</link><guid>https://blog.csdn.net/maryword/article/details/107407180</guid><author>maryword</author><pubDate>Fri, 17 Jul 2020 14:31:43 +0800</pubDate><description><![CDATA[项目编辑发布文章需要上传多图，并且需要回显编辑删除功能。使用el-upload上传初始感觉很方便，多试后发现坑还是蛮多的。发现on-change事件基本没什么用，一次上传多张图片实际还是单张上传，多次调用接口不说，上传成功后的回调也仅执行一次，这点很坑爹，研究许久多次尝试最终找到解决方案：

上代码：


&lt;el-upload multiple :action="actionsUrl" list-type="picture-card" :on-preview="handlePictureCardPre]]></description><category></category></item><item><title><![CDATA[vue项目手动刷新组件]]></title><link>https://blog.csdn.net/maryword/article/details/106427282</link><guid>https://blog.csdn.net/maryword/article/details/106427282</guid><author>maryword</author><pubDate>Fri, 29 May 2020 16:13:20 +0800</pubDate><description><![CDATA[实在不想使用window.reload()，或者router.go(0)刷新整个页面，尝试过N种办法最终发现只有provide-inject组合这种刷新组件最靠谱，功能实现了赶紧记录下来：

provide / inject组合：

作用：允许一个祖先组件向其所有子孙后代注入一个依赖，不论组件层次有多深，并在起上下游关系成立的时间里始终生效。

app.vue中：


&lt;template&gt;
  &lt;div id="app"&gt;
    &lt;router-view v-if="...]]></description><category></category></item></channel></rss>