本窗口打开: 传参: this.$router.push({ name: 'info-detail', params: {id: id}}) 取参: this.$route.params.id 新窗口打开 传参: window.open(this.$router.resolve({ path: 'i ...
分类:
其他好文 时间:
2021-06-08 23:19:17
阅读次数:
0
一.sqoop的简单概论 1.sqoop产生的原因: A. 多数使用hadoop技术的处理大数据业务的企业,有大量的数据存储在关系型数据中。 B. 由于没有工具支持,对hadoop和关系型数据库之间数据传输是一个很困难的事。 依据以上的原因sqoop产生的。 2. sqoop的介绍 sqoop是连接 ...
分类:
其他好文 时间:
2021-06-08 22:45:15
阅读次数:
0
1.添加tomcat sever。 2.添加web。 可以直接选择web文件夹 3.配置web后有两个地方要注意: 3.1 output path 生成class文件的目录 3.2 然后就是导包了 ...
分类:
其他好文 时间:
2021-06-07 21:12:23
阅读次数:
0
一、打开文件 open(path,flag,encoding,[errors]) path:打开路径 flag:打开方式:【读r(read),写w(write),追加a(append)】 encoding:编码方式 errors:错误处理 二、详解flag r:只读。该文件必须已存在。 r+:可读可 ...
分类:
编程语言 时间:
2021-06-07 21:09:28
阅读次数:
0
@staticmethoddef unzip_file(failed_file): zip_file = zipfile.ZipFile(failed_file) print(zip_file) if os.path.isdir(failed_file[0:-20]): pass else: os. ...
分类:
编程语言 时间:
2021-06-07 20:42:48
阅读次数:
0
# # Django_静态文件夹的配置 # settings文件夹配置内容 # # STATIC_URL = '/static/' #别名,引用名 为了后端的更改不会影响前端的引入,避免造成前端大量修改 # STATICFILES_DIRS = ( # os.path.join(BASE_DIR," ...
分类:
其他好文 时间:
2021-06-07 20:39:36
阅读次数:
0
.vscode/tasks.json { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "t ...
分类:
编程语言 时间:
2021-06-07 20:25:28
阅读次数:
0
一、Compose介绍 Compose解决什么问题? 不使用Compose时的缺点: 只能手动操作(build, run)单个容器 无法同时运行多个容器 无法管理多个容器之间的依赖关系 Compose是什么? Compose就是用来定义、运行、管理多个docker容器的工具 - 批量容器编排。其是d ...
分类:
其他好文 时间:
2021-06-07 20:10:37
阅读次数:
0
1官网下载.exe文件,本文选择版本为4.5.2 https://opencv.org/releases/ 2 extract到D盘 3 添加环境变量,E:\opencv\build\x64\vc15\bin 4 将E:\opencv\build\x64\vc15\bin中的这两个文件放到C:\Wi ...
分类:
其他好文 时间:
2021-06-06 19:43:10
阅读次数:
0
1、参考文档:https://nodejs.org/dist/latest-v14.x/docs/api/path.html 2、path.basename:获取一个路径中的文件名(默认包含扩展名) path.basename('/foo/bar/baz/asdf/quux.html'); // R ...
分类:
Web程序 时间:
2021-06-06 19:35:28
阅读次数:
0