纯前端实现: 切片上传 断点续传 。断点续传需要在切上上传的基础上实现 前端之前上传OSS,无需后端提供接口。先上完整代码,直接复制,将new OSS里的参数修改成自己公司OSS相关信息后可用,如遇问题,请继续往下看。 oss官方文档 https://help.aliyun.com/document ...
分类:
Web程序 时间:
2021-03-29 11:44:24
阅读次数:
0
1. git git checkout -b v1 // 创建并切换 git checkout name // 撤回修改文件 git branch -a // 查看所有分支 git branch --set-upstream-to=origin/feature-v1 // 默认拉取远程分支 git ...
分类:
系统相关 时间:
2021-03-29 11:44:12
阅读次数:
0
1.执行安装mysql的语句 sudo apt-get install mysql-server mysql-client 2.查看可登陆账户并查看密码 3.获取到了登陆mysql的账户密码登陆 4.之后依次进入mysql数据库,修改root密码,刷新缓存。之后就可以exit退出使用root账户登录 ...
分类:
数据库 时间:
2021-03-29 11:37:21
阅读次数:
0
注册模块连接redis遇到的问题 1、遇到的问题 redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set 2、解决办法 首先打开redis.windows.service.conf(或redis.w ...
分类:
其他好文 时间:
2021-03-26 15:33:25
阅读次数:
0
sql语言 是关系型数据库 通用语言 我们主要学习对数据数据 增删改查! 增: insert into 表名 (字段1, 字段2...) values(值1, 值2....) 删: delete from 表名 where 条件; 改: update 表 set k = v, k = v where ...
分类:
数据库 时间:
2021-03-26 15:30:18
阅读次数:
0
declare @i int set @i=5 while @i<150 begin INSERT INTO [dbo].[SysRole] VALUES (CONVERT(varchar(50), @i),'测试'+CONVERT(varchar(50), @i),1,1,NULL,0,0,NUL ...
分类:
数据库 时间:
2021-03-26 15:28:42
阅读次数:
0
function Checkexeisrunning(ename:string):Boolean; var hwd:hwnd; scr:array [0..254] of Char; begin Result:=False; hwd:=GetWindow(Application.Handle,GW_ ...
分类:
其他好文 时间:
2021-03-26 15:28:08
阅读次数:
0
一.首先确保宿主机时间没有问题1. 设置时区timedatectl set-timezone Asia/Shanghai 2. 设置时钟同步systemctl enable chronydsystemctl start chronyd 二. 定制Dockerfile添加时区 $ cat Docker ...
分类:
其他好文 时间:
2021-03-26 15:27:04
阅读次数:
0
使用element UI的upload组件 handleChange (file, fileList) { let _this = this if (this.formdata.printMode !== 'Bartender') return this.formdata.remark = file ...
分类:
数据库 时间:
2021-03-26 15:14:15
阅读次数:
0
错误介绍 在django项目中,当你从非项目文件夹导包时,在终端运行该文件报无该模块时,是否很困惑,因为当你直接重编辑器pycharm运行又是正常的。 错误情况 from xxx import xx ModuleNotFoundError: No module named "xxx" 错误原因 直接 ...
分类:
其他好文 时间:
2021-03-18 14:29:59
阅读次数:
0