1.路由传值: 传值:this.$router.push({ path: '/a', query: { id:1, age:18 } }) //如点击时触发 接收:this.$route.query.id || this.$route.query.age 2.父组件找子组件拿值及其方法: 父: im ...
分类:
其他好文 时间:
2021-06-04 19:08:41
阅读次数:
0
1.返回上一页 this.$router.go(-1) 2.返回上一页的指定页面 this.$router.push({ path: '/dashboard' }) ...
分类:
其他好文 时间:
2021-06-04 18:46:52
阅读次数:
0
Linux_shellcode总结 参考https://b0ldfrev.gitbook.io/note/pwn/linux_shellcode 在寄存器都是非理想值情况下(shellcode可根据环境具体触发时寄存器的值做长度调整),本着最优通用的原则,整理了Linux下32位和64位最短通用sh ...
分类:
系统相关 时间:
2021-06-02 20:48:28
阅读次数:
0
bug一个接一个 if (changeElementValueButton==nullptr) { changeElementValueButton = new QPushButton; changeElementValueButton->setMaximumWidth(22); changeEle ...
分类:
其他好文 时间:
2021-06-02 19:25:33
阅读次数:
0
广度优先遍历多叉树 层序遍历多叉树,判断是否有等于给定值target的结点 给定多叉树: const root = { value: 4, children: [{ value: 2, children: [{ value: 1, children: [] }, { value: 3, childr ...
分类:
其他好文 时间:
2021-06-02 18:13:29
阅读次数:
0
dd爱框框 一道思维题,画过转换图之后会发现最多会出现四种矩阵,那么只需要判断最后是哪一种就好了。 同时对于连续的直接去重,因为两个连续相同的等于不操作。 #include <bits/stdc++.h> using namespace std; const int N = 1010; int a[ ...
分类:
其他好文 时间:
2021-06-02 16:40:21
阅读次数:
0
问题 今天用Git上传项目时,最后一步push时命令行报错 error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 fatal: the remote end hung up unexpectedly fat ...
分类:
Web程序 时间:
2021-06-02 16:10:05
阅读次数:
0
git 回滚操作 自己写了代码想要回滚,之前自己的方法太耽误时间了,同事教了一个方法可以快速回滚 第一部分:回滚:点击history-->Version Control-->log 同时选中两个版本--> 2、然后回滚; 第二部分提交区 git 有四个区域,1、编辑区,2、暂存区 3、待提交区 4、 ...
分类:
其他好文 时间:
2021-06-02 11:02:07
阅读次数:
0
photoshop javascript window 的一个例子 参考连接:Photoshop scripts · GitHub // Open Recent Files - Adobe Photoshop Script // Description: displays a Recent File ...
分类:
编程语言 时间:
2021-05-25 18:18:28
阅读次数:
0
一、关于promise 1. 处理异步操作 2. 是一个构造函数,可实例化 3. 支持链式调用,解决回调地狱问题 二、 promise初使用 const p = new Promise((resolve,reject) => { setTimeout(()=>{ let n = rand(1,100 ...
分类:
其他好文 时间:
2021-05-24 15:29:20
阅读次数:
0