fix
This commit is contained in:
@@ -128,6 +128,12 @@ export default defineComponent({
|
||||
value:rv.workspaceVO.positionEnum.name
|
||||
},
|
||||
positionList:[],
|
||||
publishData:{
|
||||
id:'',
|
||||
portfolioDes:'',
|
||||
portfolioName:'',
|
||||
tagsDTO:[],
|
||||
},
|
||||
model:{}
|
||||
}
|
||||
let model:any = {}
|
||||
|
||||
@@ -23,11 +23,11 @@ import { useI18n } from 'vue-i18n'
|
||||
import * as THREE from 'three';
|
||||
import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader.js";
|
||||
import { DRACOLoader } from 'three/examples/jsm/loaders/DRACOLoader.js'
|
||||
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
|
||||
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
|
||||
|
||||
import { EffectComposer } from "three/addons/postprocessing/EffectComposer.js";
|
||||
import { RenderPass } from "three/addons/postprocessing/RenderPass.js";
|
||||
import { OutlinePass } from "three/addons/postprocessing/OutlinePass.js";
|
||||
import { EffectComposer } from "three/examples/jsm/postprocessing/EffectComposer.js";
|
||||
import { RenderPass } from "three/examples/jsm/postprocessing/RenderPass.js";
|
||||
import { OutlinePass } from "three/examples/jsm/postprocessing/OutlinePass.js";
|
||||
import gsap from 'gsap';
|
||||
import { env } from 'echarts';
|
||||
|
||||
|
||||
@@ -93,6 +93,7 @@ export default defineComponent({
|
||||
let publish: any = ref(false);//弹窗
|
||||
let publishMask:any = ref(false)//弹窗遮罩
|
||||
let publishData:any = reactive({
|
||||
selectObject:computed(()=>store.state.Workspace.probjects),//选择的项目
|
||||
publishName:'',
|
||||
loadingShow:false,
|
||||
publishMarginTop:0,
|
||||
@@ -138,14 +139,14 @@ export default defineComponent({
|
||||
accountId : userInfo.userId,
|
||||
createDate:'',
|
||||
idDeleted:'',
|
||||
id:portfolio.value.id?portfolio.value.id:'',
|
||||
portfolioDes:portfolio.value.portfolioDes?portfolio.value.portfolioDes:'',
|
||||
portfolioName:portfolio.value.portfolioName?portfolio.value.portfolioName:'',
|
||||
id:publishData.selectObject.publishData.id,
|
||||
portfolioDes:publishData.selectObject.publishData.portfolioDes,
|
||||
portfolioName:publishData.selectObject.publishData.portfolioName,
|
||||
portfolioType:'History',
|
||||
status:'',
|
||||
updateDate:'',
|
||||
collectionId:'',
|
||||
tagsDTO:portfolio.value.tagsDTO?portfolio.value.tagsDTO:[],
|
||||
tagsDTO:publishData.selectObject.publishData.tagsDTO,
|
||||
// isAllowLikes:true,
|
||||
}
|
||||
}
|
||||
|
||||
4
src/shims-vue.d.ts
vendored
4
src/shims-vue.d.ts
vendored
@@ -15,3 +15,7 @@ declare module '@ans1998/vue3-color'
|
||||
declare var ColorThief: any;
|
||||
declare var EyeDropper: any;
|
||||
declare module 'three'
|
||||
declare module 'OrbitControls'
|
||||
declare module 'EffectComposer'
|
||||
declare module 'RenderPass'
|
||||
declare module 'OutlinePass'
|
||||
|
||||
@@ -28,6 +28,12 @@ const Workspace : Module<DesignDetail,RootState> = {
|
||||
ageGroup:'Adult',//年龄组
|
||||
positionList:[],//衣服位置
|
||||
position:{},//衣服位置
|
||||
publishData:{
|
||||
id:'',
|
||||
portfolioDes:'',
|
||||
portfolioName:'',
|
||||
tagsDTO:[],
|
||||
},//发布的作品数据
|
||||
systemDesignerPercentage:30,//设计师分成
|
||||
model:{
|
||||
id:null,
|
||||
@@ -77,6 +83,12 @@ const Workspace : Module<DesignDetail,RootState> = {
|
||||
ageGroup:'Adult',//年龄组
|
||||
positionList:[],
|
||||
position:{},//衣服位置
|
||||
publishData:{
|
||||
id:'',
|
||||
portfolioDes:'',
|
||||
portfolioName:'',
|
||||
tagsDTO:[],
|
||||
},//发布的作品数据
|
||||
systemDesignerPercentage:30,
|
||||
model:{
|
||||
id:-1,
|
||||
|
||||
Reference in New Issue
Block a user