第一次启动显示帮助

This commit is contained in:
fofolee 2024-01-23 09:48:49 +08:00
parent bf77c75717
commit 210243c8e2

View File

@ -38,7 +38,7 @@ export default defineComponent({
init() { init() {
window.utools = window.getuToolsLite(); window.utools = window.getuToolsLite();
if (!this.checkVer()) return; if (!this.checkVer()) return;
this.showChangeLog(); this.firstRun();
this.startUp(); this.startUp();
}, },
checkVer() { checkVer() {
@ -193,9 +193,9 @@ export default defineComponent({
second: dateString.getSeconds(), second: dateString.getSeconds(),
}; };
}, },
showChangeLog() { firstRun() {
if (this.utools.getStorage("st_v300Inited")) return; if (this.utools.getStorage("st_v300Inited")) return;
window.showUb.changelog(); window.showUb.help();
// //
let statisticsData = this.utools.getDB("cfg_statisticsData"); let statisticsData = this.utools.getDB("cfg_statisticsData");
_.forIn(statisticsData, (data, year) => { _.forIn(statisticsData, (data, year) => {