feat: 将存储的按照功能分离

This commit is contained in:
2026-04-30 11:15:23 +08:00
parent 3fe099c3b0
commit 85eaf3b86a
5 changed files with 26 additions and 16 deletions

View File

@@ -68,8 +68,8 @@
<script setup>
import { ref, computed, nextTick } from "vue";
import { zniconsMap } from "@/static/fonts/znicons.js";
import { useAppStore } from "@/store";
const appStore = useAppStore();
import { usePictureStore } from "@/store";
const pictureStore = usePictureStore();
// Props定义
const props = defineProps({
@@ -170,7 +170,7 @@ const handleSwiperChange = (e) => {
};
const handlePreviewClick = () => {
appStore.setPreviewImageData(thumbnails.value);
pictureStore.setPreviewImageData(thumbnails.value);
uni.navigateTo({
url: `/pages/goods/album/index`,
});