前端nuxt在jenkins部署
1: 在jenkins上拉代码,写.env,npm build, 生成压缩包
#!/bin/bash
##判断是否存在备份用的nuxt目录##
cd /home/deployer/nuxt_backup/
if [[ ! -d nuxt ]];then
echo "the document is not exsit"
mkdir -p /home/deployer/nuxt_backup/nuxt[……]
1: 在jenkins上拉代码,写.env,npm build, 生成压缩包
#!/bin/bash
##判断是否存在备份用的nuxt目录##
cd /home/deployer/nuxt_backup/
if [[ ! -d nuxt ]];then
echo "the document is not exsit"
mkdir -p /home/deployer/nuxt_backup/nuxt[……]
前端vue框架获取视频的时长:
const url = URL.createObjectURL(file)
const audioElement = new Audio(url)
console.log(file, audioElement, '22222222222222222[……]
查看有没有被锁住:
select * from information_schema.INNODB_TRX;
[……]