上一页 1 2 3 4 5 6 7 ··· 24 下一页
摘要: 1.查看一下本地分支 git branch; 查看本地和远程的所有分支 git branch -a 2.新建一个本地的分支 git branch -b newbranch //这个命令是新建一个分支,并切换到该分支上去 (git branch newbranch; git checkout newb 阅读全文
posted @ 2022-07-20 20:40 南瓜壳 阅读(1821) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_45963071/article/details/119838275 语音识别集成https://www.npmjs.com/package/speak-tts 语音播放插件 https://blog.csdn.net/levi2469/articl 阅读全文
posted @ 2022-06-20 10:07 南瓜壳 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 第一步:建立EventBus文件 在src下建立utils文件夹,utils文件夹下创立EventBus.js import Vue from 'vue'; /** * 事件总线 * @usage: * EventBus.$emit('event',payload); * EventBus.$on( 阅读全文
posted @ 2022-06-13 17:50 南瓜壳 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 真的是,我找了好久的办法,试了好多次,终于在我的不懈努力下,找到了最优解 找到文件 vue.config.js (如果没有这个文件就在根目录上创建一个)将lintOnSave属性设置为false,如果没有就自己写个进去。 module.exports = {lintOnSave: false}真的非 阅读全文
posted @ 2022-06-06 11:43 南瓜壳 阅读(1297) 评论(0) 推荐(0) 编辑
摘要: 使用 git bash 创建vue项目时候,无法使用上下键盘按键选择vuecli版本 解决方法: 1.当前界面,按CTR + C终止创建命令; 2.使用 alias vue='winpty vue.cmd',更新命令环境; 3.再次使用 vue create demo创建项目; 4.如图示,即可使用 阅读全文
posted @ 2022-06-06 11:35 南瓜壳 阅读(337) 评论(0) 推荐(0) 编辑
摘要: newArr.filter((item) => !arr.includes(item)) 阅读全文
posted @ 2022-06-01 16:47 南瓜壳 阅读(111) 评论(0) 推荐(0) 编辑
摘要: function formatSeconds(value) { var theTime = parseInt(value); // 秒 var theTime1 = 0; // 分 var theTime2 = 0; // 小时 // alert(theTime); if (theTime > 60 阅读全文
posted @ 2022-05-31 16:21 南瓜壳 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1.git add . 2.git stash save "xxx" 暂存文件 3.git checkout newbranch 4.git stash pop 阅读全文
posted @ 2022-05-25 10:50 南瓜壳 阅读(113) 评论(0) 推荐(0) 编辑
摘要: import axios from 'axios'; import qs from 'qs'; import { Message} from '@alifd/next'; //默认地址 const request = axios.create({ timeout: 100000, baseURL:' 阅读全文
posted @ 2022-05-10 19:23 南瓜壳 阅读(43) 评论(0) 推荐(0) 编辑
摘要: <el-form :inline="true" :model="ruleForm" label-width="110px" ref="ruleForm" :rules="rules" style="width:90%;margin:0 auto"> <el-card> <div slot="head 阅读全文
posted @ 2022-04-21 14:06 南瓜壳 阅读(571) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 24 下一页