<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[JonesBond的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/JonesBond</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; JonesBond]]></copyright><item><title><![CDATA[【无标题】]]></title><link>https://blog.csdn.net/JonesBond/article/details/129439609</link><guid>https://blog.csdn.net/JonesBond/article/details/129439609</guid><author>JonesBond</author><pubDate>Fri, 10 Mar 2023 11:40:12 +0800</pubDate><description><![CDATA[js 数组去重]]></description><category></category></item><item><title><![CDATA[自动刷新浏览器页面]]></title><link>https://blog.csdn.net/JonesBond/article/details/121300439</link><guid>https://blog.csdn.net/JonesBond/article/details/121300439</guid><author>JonesBond</author><pubDate>Sat, 13 Nov 2021 09:51:58 +0800</pubDate><description><![CDATA[//浏览器打开 控制器复制后回车输入 秒数 即可!
var time = prompt('设置刷新时间：秒') 
var href = window.location.href
if (time &gt; 0) {
    setTimeout(reload, 1000*time)
}
function reload () {
    setTimeout(reload, 1000*time)
    var fram = '&lt;frameset col="*"&gt;&lt;frame src="'+]]></description><category></category></item><item><title><![CDATA[60秒倒计时]]></title><link>https://blog.csdn.net/JonesBond/article/details/120078490</link><guid>https://blog.csdn.net/JonesBond/article/details/120078490</guid><author>JonesBond</author><pubDate>Fri, 03 Sep 2021 11:41:28 +0800</pubDate><description><![CDATA[//60秒倒计时
    countdown: function() {
      const that = this;
      if (that.times === 0) {
        this.yzmBool = false;
        that.textContent = "获取验证码";
        that.times = 60;
        return false;
      } else {
        if (0 &lt; that.times &amp;&]]></description><category></category></item><item><title><![CDATA[关于校验的封装]]></title><link>https://blog.csdn.net/JonesBond/article/details/120001173</link><guid>https://blog.csdn.net/JonesBond/article/details/120001173</guid><author>JonesBond</author><pubDate>Mon, 30 Aug 2021 17:12:17 +0800</pubDate><description><![CDATA[// 校验的封装

/**
 * @Author: Zhouc52
 * @Date: 2019/09/18 9:30
 * 工具类，公用方法写在这里
 */
import router from './../router/index'
import {Message,MessageBox} from 'element-ui'
import FileSaver from 'file-saver'

const commTool = {
  strIsEmpty: function (str) {
    i]]></description><category></category></item><item><title><![CDATA[数组api 汇总]]></title><link>https://blog.csdn.net/JonesBond/article/details/119997576</link><guid>https://blog.csdn.net/JonesBond/article/details/119997576</guid><author>JonesBond</author><pubDate>Mon, 30 Aug 2021 15:13:34 +0800</pubDate><description><![CDATA[数组 api 汇总
indexOf方法，用于查找数组中是否包含指定的值，返回指定值的索引值，如果没有存在返回-1
// An highlighted block
var foo = 'bar';

map方法，对指定数组内的每个元素进行函数调用，返回一个新数组。
const arr = [1,2,3];
const arr2=arr.map((item)=&gt;{
    return item*2;
});
console.log(arr) // [1,2,3]
console.log(arr2) //]]></description><category></category></item><item><title><![CDATA[vue 获取当前IP地址]]></title><link>https://blog.csdn.net/JonesBond/article/details/119993791</link><guid>https://blog.csdn.net/JonesBond/article/details/119993791</guid><author>JonesBond</author><pubDate>Mon, 30 Aug 2021 11:39:52 +0800</pubDate><description><![CDATA[vue 获取当前IP地址
贴--代--码.
// An highlighted block
 data() {
    return {
      getIp: ""
    };
  },
 created() {
    this.getLocalIp(); // 获取用户ip
  },
  methods: {
   getLocalIp() {
      this.getIp= returnCitySN["cip"];
      console.log(this.getIp);
    },
]]></description><category></category></item><item><title><![CDATA[vscode格式化后单引号变双引号及分号及逗号问题]]></title><link>https://blog.csdn.net/JonesBond/article/details/117983374</link><guid>https://blog.csdn.net/JonesBond/article/details/117983374</guid><author>JonesBond</author><pubDate>Thu, 17 Jun 2021 10:14:03 +0800</pubDate><description><![CDATA[vscode格式化后单引号变双引号及分号及逗号问题

根目录新建一个 .prettierrc.json 文件

{
  //控制单引号格式化变成双引号
  "singleQuote": true,
   //控制格式化后分号显示
  "semi": false,
  //控制格式化后自动添加逗号
  "trailingComma": "none"
}


...]]></description><category></category></item><item><title><![CDATA[查重 截取 删除 筛选]]></title><link>https://blog.csdn.net/JonesBond/article/details/117709814</link><guid>https://blog.csdn.net/JonesBond/article/details/117709814</guid><author>JonesBond</author><pubDate>Tue, 08 Jun 2021 17:21:05 +0800</pubDate><description><![CDATA[今天看到一篇报道里面的专家说:在狗的眼中，人类所做的一切动作都是慢动作。我恍然大悟，怪不得老板总说我干活慢！]]></description><category></category></item><item><title><![CDATA[圣诞节首页面出现雪花效果]]></title><link>https://blog.csdn.net/JonesBond/article/details/111418742</link><guid>https://blog.csdn.net/JonesBond/article/details/111418742</guid><author>JonesBond</author><pubDate>Sun, 20 Dec 2020 14:24:07 +0800</pubDate><description><![CDATA[圣诞节当天小程序首页面出现下雪效果
刚开始JS后出现硬核问题，遂用CSS
组件  JS部分
Component({
  lifetimes: {
    attached() {
      let snowInterval = e =&gt; {
        this.data.snowArray.push(Math.random() * 750);
        this.setData({ snowOffset: this.data.snowArray.length - 2, snowArray]]></description><category></category></item><item><title><![CDATA[关于git极其简单的clone和pull]]></title><link>https://blog.csdn.net/JonesBond/article/details/111417598</link><guid>https://blog.csdn.net/JonesBond/article/details/111417598</guid><author>JonesBond</author><pubDate>Sun, 20 Dec 2020 14:08:54 +0800</pubDate><description><![CDATA[1、首先与远程仓库建立连接：git remote add origin url地址
2、使用git branch&nbsp; &nbsp;查看本地是否具有dev分支
3、没有dev分支&nbsp; 则&nbsp;git fetch origin dev
4、git checkout -b dev origin/dev&nbsp; &nbsp;在本地创建分支dev并切换到该分支
5、git pull origin dev&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb]]></description><category></category></item><item><title><![CDATA[封装一个随调随用的倒计时的组件]]></title><link>https://blog.csdn.net/JonesBond/article/details/110085775</link><guid>https://blog.csdn.net/JonesBond/article/details/110085775</guid><author>JonesBond</author><pubDate>Tue, 24 Nov 2020 16:27:13 +0800</pubDate><description><![CDATA[封装一个随调随用的倒计时的组件。
代码部分
***## WXML部分***
&lt;view class="{{styleFlag=='1'?'tui-countdown-content':'tui-countdown-content-award'}}"&gt;
  &lt;text class='textView'&gt;{{text}}&lt;/text&gt;
  &lt;text class="{{styleFlag=='1'?'tui-conutdown-box':'tui-conutdown-b]]></description><category></category></item><item><title><![CDATA[小程序之checkbox 或 radio 默认样式修改]]></title><link>https://blog.csdn.net/JonesBond/article/details/109155425</link><guid>https://blog.csdn.net/JonesBond/article/details/109155425</guid><author>JonesBond</author><pubDate>Mon, 19 Oct 2020 10:08:17 +0800</pubDate><description><![CDATA[小程序之checkbox 或 radio 默认样式修改
写小程序时修改checkbox或radio的样式虽不难，略微头痛，继而记录一下。
新的改变
我们对Markdown编辑器进行了一些功能拓展与语法支持，除了标准的Markdown编辑器功能，我们增加了如下几点新功能，帮助你用它写博客：

全新的界面设计 ，将会带来全新的写作体验；
在创作中心设置你喜爱的代码高亮样式，Markdown 将代码片显示选择的高亮样式 进行展示；
增加了 图片拖拽 功能，你可以将本地的图片直接拖拽到编辑区域直接展示；
全新的 K]]></description><category></category></item></channel></rss>