修复页面刷新sketch会增加和颜色板块关闭后再次打开颜色异常问题
This commit is contained in:
@@ -507,7 +507,6 @@ export default defineComponent({
|
||||
watch(
|
||||
() => scene.value,
|
||||
(newVal, oldVal) => {
|
||||
console.log('scene-------------newVal', newVal)
|
||||
if (newVal.value == 'extract') {
|
||||
speed.speedData = {
|
||||
...speed.extractList[0]
|
||||
@@ -869,7 +868,7 @@ export default defineComponent({
|
||||
}
|
||||
data = {
|
||||
generateType: 'text',
|
||||
designType: 'collection',
|
||||
designType: this.sketchboardList[0]?.designType?this.sketchboardList[0].designType:'collection',
|
||||
collectionElementId: collectionElementId,
|
||||
level1Type: this.upload.level1Type,
|
||||
level2Type: level2Type,
|
||||
@@ -1289,6 +1288,7 @@ export default defineComponent({
|
||||
status: 'done',
|
||||
...data,
|
||||
errCode: 0,
|
||||
designType:'Library',
|
||||
imgUrl: data.url,
|
||||
xhr: {
|
||||
response: JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user