首先使用vim ~/.bashrc进入 ~/.bashrc文件 然后在~/.bashrc文件添加以下修改 凭自己的习惯添加 alias gst='git status' alias ga='git add -A .' alias gc='git commit -m' alias gd='git di ...
分类:
系统相关 时间:
2020-07-01 20:34:45
阅读次数:
70
//比较字符基类大小 相同返回0,str1>str2 返回1,str1<str2 返回-1, function str_compare(str1,str2){ let index=0; let dis=0; while (dis 0&&index<str1.length){ if(str1.char ...
分类:
编程语言 时间:
2020-07-01 20:32:24
阅读次数:
61
$(document).on("click", function() { backHomePage(); }) backHomePage(); var backHomePageTimer = null; //页面无操作在5分钟后返回主界面 function backHomePage() { if ( ...
分类:
其他好文 时间:
2020-07-01 14:27:51
阅读次数:
74
<script>// 创建对象:var person = { firstName: "Bill", lastName : "Gates", id : 678, fullName : function() { return this.firstName + " " + this.lastName; } ...
分类:
其他好文 时间:
2020-07-01 14:22:09
阅读次数:
57
第一个小程序 <template> <div id="app"> <div>hello world!</div> <router-view></router-view> </div> </template> <script> export default { name: 'App' } </scri ...
分类:
其他好文 时间:
2020-07-01 14:21:10
阅读次数:
182
https://blog.csdn.net/weixin_33940102/article/details/88596485 clearCheck = () => { // 处理勾选数据后清空勾选 this.setState({ selectedRowKeys: [] }) } render () ...
分类:
其他好文 时间:
2020-07-01 14:20:49
阅读次数:
82
<script src="~/Scripts/Extjs4.2/ext-all.js"></script> <link href="~/Scripts/Extjs4.2/resources/ext-theme-neptune/ext-theme-neptune-all.css" rel="style ...
分类:
Web程序 时间:
2020-07-01 13:01:00
阅读次数:
94
<el-button @click="tangchu">Button</el-button> <script> export default { //也是定义组件的方法,这种export default定义组件方法,可以让组件作为对外接口一样用import引入组件 methods: { tangch ...
分类:
其他好文 时间:
2020-07-01 12:58:10
阅读次数:
62
上周终于考完试了…… Electron中,渲染进程=>主进程已经叙述。我们今天讲讲Main=>Renderer 既然渲染=>主是 <script> const {ipcRenderer}=require('electron'); ipcRenderer.send('closeAboutWindow' ...
分类:
系统相关 时间:
2020-07-01 12:42:12
阅读次数:
60
<!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstr ...
分类:
其他好文 时间:
2020-07-01 12:34:27
阅读次数:
49