Skip to content

Commit 742e25a

Browse files
committed
Optimize description
1 parent c776c71 commit 742e25a

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/app/components/Report/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import type { Ref, UnwrapRef, ComputedRef } from "vue"
99
import type { StatQueryParam } from "@service/stat-service"
1010
import type { Router, RouteLocation } from "vue-router"
1111

12-
import { computed, defineComponent, watch, reactive, ref } from "vue"
12+
import { computed, defineComponent, watch, reactive, ref, onMounted } from "vue"
1313
import { I18nKey, t } from "@app/locale"
1414
import statService from "@service/stat-service"
1515
import './styles/element'
@@ -210,6 +210,7 @@ const _default = defineComponent(() => {
210210
handleWindowVisibleChange(query)
211211

212212
watch([filterOption, sort, () => page.num, () => page.size], query)
213+
onMounted(query)
213214

214215
const renderFilter = () => <ReportFilter
215216
initial={filterOption.value}

src/background/install-handler/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import { onInstalled } from "@api/chrome/runtime"
22
import { executeScript } from "@api/chrome/script"
3-
import { createTab, listTabs } from "@api/chrome/tab"
3+
import { listTabs } from "@api/chrome/tab"
44
import metaService from "@service/meta-service"
5-
import { getGuidePageUrl } from "@util/constant/url"
65
import { isBrowserUrl } from "@util/pattern"
76
import UninstallListener from './uninstall-listener'
87

98
async function onFirstInstall() {
10-
createTab(getGuidePageUrl())
119
metaService.updateInstallTime(new Date())
1210
}
1311

src/i18n/message/common/meta-resource.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
"zh_CN": {
33
"name": "网费很贵",
44
"marketName": "网费很贵 - 上网时间统计",
5-
"description": "做最好用的上网时间统计工具。"
5+
"description": "追踪时间,分析习惯,改善行为,提高效率"
66
},
77
"zh_TW": {
88
"name": "網費很貴",
99
"marketName": "網費很貴 - 上網時間統計",
10-
"description": "做最好用的上網時間統計工具。"
10+
"description": "追蹤時間,分析習慣,改善行為,提高效率"
1111
},
1212
"ja": {
1313
"name": "Web時間統計",
1414
"marketName": "Web時間統計",
15-
"description": "最高のウェブタイムトラッカーになるために。"
15+
"description": "統計、分析、改善、効率向上"
1616
},
1717
"en": {
1818
"name": "Time Tracker",
1919
"marketName": "Time Tracker",
20-
"description": "To be the BEST webtime tracker."
20+
"description": "Track, analyze, control, then improve efficiency"
2121
},
2222
"pt_PT": {
2323
"name": "Rastreador de Tempo",

0 commit comments

Comments
 (0)