我知道2种方式: 1.在标签内 使用 ref 属性定义对象名,使用this.$refs.【name】 调用 2.在标签内 使用 函数传递事件对象, 定义, <div @click="handleFunc($event)" ></div> 使用, <script> function handleFun ...
分类:
其他好文 时间:
2020-11-20 12:16:53
阅读次数:
30
#include <iostream> extern "C" { #include <libavutil/des.h> } #include <openssl/des.h> int en(void *data, int size) { } int de(void *data, void *out) ...
分类:
其他好文 时间:
2020-11-20 12:00:54
阅读次数:
9
yarn start yarn run v1.22.10$ cross-env APP_TYPE=site umi dev'cross-env' 不是内部或外部命令,也不是可运行的程序或批处理文件。error Command failed with exit code 1. 启动不成功,证明这个项目 ...
分类:
其他好文 时间:
2020-11-20 11:57:12
阅读次数:
5
一、导入jar包: 并导入数据库连接jar包: 下载 pool.jar一定要下载1.x版本,亲测2.xxx版本会出现报错:Failed to introspect bean class [org.apache.commons.dbcp.BasicDataSource] for lookup meth ...
分类:
编程语言 时间:
2020-11-20 11:53:08
阅读次数:
7
下面是测试结果,只列出报错了的测试: 1、org.apache.catalina.LifecycleException: A child container failed during start 缺少:cxf-core-3.0.4.jar(最核心的包,不多说) 2、java.lang.ClassN ...
分类:
编程语言 时间:
2020-11-20 11:49:07
阅读次数:
7
function getExplorerWindows() { let wnds = sp.AllApplications(); const windClass = "CabinetWClass"; const proName = "explorer"; let result = new Array ...
分类:
其他好文 时间:
2020-11-19 12:03:37
阅读次数:
4
添加/删除元素: push(...items) 从结尾添加元素pop() 从结尾删除元素shift() 从开头删除元素unshift(...items) 从开头添加元素splice(pos,deeteCount,...items) 从index开始,删除deleteCount元素并在当前位置插入元素 ...
分类:
编程语言 时间:
2020-11-18 12:30:07
阅读次数:
6
报错Failed to install the following SDK components: platforms;android-29 Android SDK Platform 29 解决方法: 更新licenses,然后重新build即可 cd /Users/tmh/Library/Andr ...
分类:
移动开发 时间:
2020-11-18 12:25:18
阅读次数:
26
list: 底层实现为双向链表 1、基本用法 #include <iostream> #include <list> using namespace std; // list:双向链表 void ShowPrint(list<int> d) { for (list<int>::iterator it ...
分类:
其他好文 时间:
2020-11-17 13:02:23
阅读次数:
27
本地回退到上一版本 git reset –hard HEAD^ 本地回退到上上个版本 git reset –hard HEAD~2 本地回退到指定项(根据log的提交id来回退) git log git reset –hard commit_id 强制把本地推到远程master分支 git push ...
分类:
其他好文 时间:
2020-11-17 13:01:28
阅读次数:
23