1、require.context() 回忆一下 当我们引入组件时 第一步 创建一个子组件 第二步 import ... form ... 第三步 components:{..} 第四步 页面使用 <...></...> 代码实现: 目录结构:components / context / subse ...
分类:
其他好文 时间:
2019-11-20 13:00:55
阅读次数:
95
字符集报错一直存在 locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or d ...
分类:
系统相关 时间:
2019-11-20 12:52:08
阅读次数:
73
1. 环境配置 要将本地文件上传到阿里云oss中, 必须使用阿里云提供的工具 ossutil, 有32位,也有64位的, Linux和Windows都有.具体可以到阿里云官网下载 官网及文档: https://helpcdn.aliyun.com/document_detail/120075.htm ...
分类:
数据库 时间:
2019-11-19 15:32:43
阅读次数:
121
应用场景1——基于域名的跳转公司旧域名www.accp.com,因业务需求有变更,需要使用新域名www.kgc.com代替不能废除旧域名从旧域名跳转到新域名,且保持其参数不变实验环境Linux服务器(192.168.13.144)测试机win71,安装Nginx服务[root@localhost~]#rpm-Uvhhttp://nginx.org/packages/centos/7/noarch/
分类:
其他好文 时间:
2019-11-19 09:16:46
阅读次数:
69
添加文件夹右键程序打开 开始运行regedit 找到 HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell 1、右键shell目录新建项Idea 2、右键Idea新建command 3、选择Idea 右侧空白出新建字符串 名字为Icon 值填入ide ...
分类:
其他好文 时间:
2019-11-18 18:52:42
阅读次数:
431
本篇文章介绍Git的本地使用 Git是什么? Git是世界上最先进的分布式版本控制系统。 那么什么是版本控制系统? 我们来举个例子,假设我创建了一个项目Project.1,里面写了一个README.txt文档、一个code1.cs和一个code2.cs,第二天我突然想改进一下版本,但是我们不能直接在 ...
分类:
其他好文 时间:
2019-11-17 18:15:27
阅读次数:
68
第一次用git,遇到这个错误提示,原来是这样的: fatal: Not a git repository (or any of the parent directories): .git This tells you that the directory you're in is not a git ...
分类:
其他好文 时间:
2019-11-17 14:32:12
阅读次数:
63
以用户名:dzl 密码:test 实例:orcl 导出文件夹d:\dump为例1.创建导入文件的路径create directory dmp_dir as 'd:\dump';2.查看文件路径select * from dba_directories;3.赋予权限grant read,write o ...
分类:
其他好文 时间:
2019-11-17 10:39:01
阅读次数:
191
介绍 想要安全的创建名字唯一的临时文件,以防止被试图破坏应用或窃取数据的人猜出,这很有难度。tempfile模块提供了多个函数来安全创建临时文件系统资源。TemporaryFile函数打开并返回一个未命名的文件,NamedTemporaryFile打开并返回命名文件,SpooledTemporary ...
分类:
其他好文 时间:
2019-11-17 01:51:24
阅读次数:
100
springboot version:2.1.9-RELEASE 解决方案: 在pom中添加此段 完美解决,代码的作用是让src/main/webapp在编译的时候在resoureces路径下也生成webapp的文件 <build> <resources> <resource> <directory ...
分类:
移动开发 时间:
2019-11-16 11:00:46
阅读次数:
115