|
@@ -350,6 +350,15 @@ export default {
|
|
|
}
|
|
|
// 上传本机加密日志
|
|
|
this.uploadLogInterval = setInterval(() => createEncryptLog(), 5 * 1000);
|
|
|
+ if (isElectron()) {
|
|
|
+ createLog({
|
|
|
+ currentPage: "登录页面",
|
|
|
+ action: "versonstats",
|
|
|
+ packageVersion: "ua-" + UA.getBrowser().version,
|
|
|
+ file: process.env.PORTABLE_EXECUTABLE_FILE,
|
|
|
+ uaGood: "uagood-" + (process.env.PORTABLE_EXECUTABLE_FILE ? 1 : 0),
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
async created() {
|
|
|
createLog({
|