update 格式化代码

This commit is contained in:
LiuHao 2023-07-19 22:32:43 +08:00
parent fffd9c3bac
commit bb95465d60
3 changed files with 4 additions and 5 deletions

View File

@ -54,8 +54,8 @@ export default {
}
downloadLoadingInstance.close();
} catch (r) {
console.error(r)
ElMessage.error('下载文件出现错误,请联系管理员!')
console.error(r);
ElMessage.error('下载文件出现错误,请联系管理员!');
downloadLoadingInstance.close();
}
},

View File

@ -1,7 +1,7 @@
import JSEncrypt from 'jsencrypt';
// 密钥对生成 http://web.chacuo.net/netrsakeypair
const publicKey = import.meta.env.VITE_APP_RSA_PUBLIC_KEY
const publicKey = import.meta.env.VITE_APP_RSA_PUBLIC_KEY;
// 前端不建议存放私钥 不建议解密数据 因为都是透明的意义不大
const privateKey = '**********';

View File

@ -19,8 +19,7 @@ export default class ProjectTypes extends VueTypes {
return toValidableType('style', {
type: [String, Object],
default: undefined
})
});
}
}
export { propTypes };