调整二次创作问题
This commit is contained in:
@@ -336,6 +336,7 @@ export default defineComponent({
|
||||
let allBoardData:any = computed(()=>{
|
||||
return store.state.UploadFilesModule.allBoardData})
|
||||
let isMannequinShow = ref(false)
|
||||
let chooseIsDesign:any = ref(1)
|
||||
return {
|
||||
store,
|
||||
likeDesignCollectionList,
|
||||
@@ -355,6 +356,7 @@ export default defineComponent({
|
||||
workspacePosition,
|
||||
allBoardData,
|
||||
isMannequinShow,
|
||||
chooseIsDesign,
|
||||
};
|
||||
},
|
||||
data() {
|
||||
@@ -471,6 +473,7 @@ 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'){
|
||||
@@ -604,6 +607,7 @@ export default defineComponent({
|
||||
_this.store.commit("clearAllCollection");
|
||||
_this.store.commit("setAllBoardDataChoose",{});
|
||||
_this.store.commit("clearShowSketchboard",{});
|
||||
_this.chooseIsDesign = 1;
|
||||
_this.isHaveReviewCollection = false
|
||||
}
|
||||
});
|
||||
@@ -663,6 +667,10 @@ export default defineComponent({
|
||||
|
||||
//设计新的collection
|
||||
designNewCollection() {
|
||||
if(this.chooseIsDesign == 0){
|
||||
message.info(this.t('HomeView.jsContent1'));
|
||||
return
|
||||
}
|
||||
let { colorBoards } =
|
||||
this.store.state.UploadFilesModule.allBoardData;
|
||||
if (!colorBoards || colorBoards?.length < 1) {
|
||||
|
||||
Reference in New Issue
Block a user