修复页面刷新sketch会增加和颜色板块关闭后再次打开颜色异常问题

This commit is contained in:
X1627315083
2025-10-10 13:03:21 +08:00
parent f8ebfa8809
commit d35f24d817
12 changed files with 37 additions and 1281 deletions

View File

@@ -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({