feat: 将存储的按照功能分离
This commit is contained in:
@@ -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`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user