feat: add dynamic nav, fix album preview and store types
add dynamic TopNavBar to goods page that updates styling based on scroll position fix album page preview logic, replace uni preview with vant showImagePreview and correct typos add TypeScript type annotation to picture store action clean up album page layout and fix invalid img tag use computed album list from picture store
This commit is contained in:
@@ -8,7 +8,7 @@ export const usePictureStore = defineStore("picture", {
|
||||
},
|
||||
|
||||
actions: {
|
||||
setPreviewImageData(data) {
|
||||
setPreviewImageData(data: any[]) {
|
||||
this.previewImageData = data;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user