fix
This commit is contained in:
@@ -336,7 +336,8 @@ export default defineComponent({
|
||||
let allBoardData:any = computed(()=>{
|
||||
return store.state.UploadFilesModule.allBoardData})
|
||||
let isMannequinShow = ref(false)
|
||||
let chooseIsDesign:any = ref(1)
|
||||
let chooseIsDesign:any = computed(()=>{
|
||||
return store.state.UploadFilesModule.chooseIsDesign})
|
||||
return {
|
||||
store,
|
||||
likeDesignCollectionList,
|
||||
@@ -473,7 +474,6 @@ export default defineComponent({
|
||||
// this.store.commit("clearAllCollection");
|
||||
}
|
||||
if (this.$route.params.id) {
|
||||
this.chooseIsDesign = this.$route.params.isDesign
|
||||
if(this.$route.params.type == 'History'){
|
||||
this.getHistoryChoose(this.$route.params.id, "normal");
|
||||
}else if(this.$route.params.type == 'Works'){
|
||||
@@ -607,7 +607,6 @@ export default defineComponent({
|
||||
_this.store.commit("clearAllCollection");
|
||||
_this.store.commit("setAllBoardDataChoose",{});
|
||||
_this.store.commit("clearShowSketchboard",{});
|
||||
_this.chooseIsDesign = 1;
|
||||
_this.isHaveReviewCollection = false
|
||||
}
|
||||
});
|
||||
@@ -667,7 +666,7 @@ export default defineComponent({
|
||||
|
||||
//设计新的collection
|
||||
designNewCollection() {
|
||||
if(this.chooseIsDesign == 0){
|
||||
if(!this.chooseIsDesign.value){
|
||||
message.info(this.t('HomeView.jsContent10'));
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user