fix
This commit is contained in:
@@ -80,7 +80,8 @@ export default defineComponent({
|
||||
components:{MoodTemplate},
|
||||
setup() {
|
||||
let sketch:any = ref([[],[],[]])
|
||||
let sketchList = ref([])
|
||||
let sketchList:any = computed(()=>{
|
||||
return store.state.UploadFilesModule.showSketchboard})
|
||||
const store = useStore();
|
||||
let allBoardData:any = computed(()=>{return store.state.UploadFilesModule.allBoardData})
|
||||
let likeDesignCollectionList : any = computed(()=>{return store.state.HomeStoreModule.likeDesignCollectionList})
|
||||
@@ -96,9 +97,9 @@ export default defineComponent({
|
||||
watch: {
|
||||
allBoardData:{
|
||||
handler(newVal:any,oldVal:any){
|
||||
this.sketchList = []
|
||||
// this.sketchList = []
|
||||
// this.sketch = [[],[],[]]
|
||||
this.sketchList = this.allBoardData.sketchboardFiles
|
||||
// this.sketchList = this.allBoardData.sketchboardFiles
|
||||
this.setSketch()
|
||||
},
|
||||
immediate: true
|
||||
|
||||
Reference in New Issue
Block a user