fix(product): hide save to system media for not apk env
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
</template>
|
||||
</t-cell>
|
||||
</t-cell-group>
|
||||
<t-cell-group title="照片" theme="card" v-entrance-transition>
|
||||
<t-cell-group v-if="isAndroidApp" title="照片" theme="card" v-entrance-transition>
|
||||
<t-cell title="拍照后存入相册">
|
||||
<template #right-icon>
|
||||
<t-switch
|
||||
@@ -79,6 +79,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Capacitor } from "@capacitor/core";
|
||||
import type { ThemeMode } from "@/store/globalUI";
|
||||
import { useGlobalUIStore } from "@/store/globalUI";
|
||||
import SegmentedSlider from "@/components/SegmentedSlider.vue";
|
||||
@@ -90,6 +91,7 @@ defineOptions({
|
||||
|
||||
const globalUIStore = useGlobalUIStore();
|
||||
const settingStore = useSettingStore();
|
||||
const isAndroidApp = Capacitor.getPlatform() === "android";
|
||||
|
||||
// ---------- 主题 ----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user