Skip to content

Commit 4bb3251

Browse files
committed
chore: format
1 parent f0ea570 commit 4bb3251

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
<script setup lang="ts">
2-
defineProps<{
3-
not?: boolean;
4-
}>();
5-
62
const getShow = () => {
73
return import.meta.env.DEV || Reflect.get(globalThis, 'gkd');
84
};
95
</script>
106
<template>
117
<ClientOnly>
12-
<slot v-if="not ? !getShow() : getShow()"></slot>
8+
<slot v-if="getShow()"></slot>
139
</ClientOnly>
1410
</template>
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
<script setup lang="ts">
2-
defineProps<{
3-
not?: boolean;
4-
}>();
5-
62
const getShow = () => {
73
return (
84
globalThis.document && 'ontouchstart' in globalThis.document.documentElement
@@ -11,6 +7,6 @@ const getShow = () => {
117
</script>
128
<template>
139
<ClientOnly>
14-
<slot v-if="not ? !getShow() : getShow()"></slot>
10+
<slot v-if="getShow()"></slot>
1511
</ClientOnly>
1612
</template>

docs/guide/faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
目前有两个渠道在使用,它们可互相安装覆盖,但存在区别
1010

1111
| 渠道 | 下载方式 | 自更新逻辑 | [受限制的设置](#restriction) | 无障碍工具声明 |
12-
| :--: | :-----------------------------------------------------------------------: | :-----------------: | :----------------------------: | :------------: |
13-
| gkd | [官网/GitHub](/guide/) | 弹窗更新(镜像加速) | 可能受限 ||
14-
| play | [Google Play](https://play.google.com/store/apps/details?id=li.songe.gkd) | 无(必须Google Play) | 不会 ||
12+
| :--: | :-----------------------------------------------------------------------: | :-----------------: | :--------------------------: | :------------: |
13+
| gkd | [官网/GitHub](/guide/) | 弹窗更新(镜像加速) | 可能受限 ||
14+
| play | [Google Play](https://play.google.com/store/apps/details?id=li.songe.gkd) | 无(必须Google Play) | 不会 ||
1515

1616
根据 [Google Play 政策](https://support.google.com/googleplay/android-developer/answer/10964491?hl=zh-Hans),必须以 **支持残障人士为主要用途** 才能使用 **无障碍工具声明**
1717

0 commit comments

Comments
 (0)