Commit c52d287d by linjinhong

fix:修改问题

parent 82e0f37b
...@@ -307,7 +307,11 @@ export default { ...@@ -307,7 +307,11 @@ export default {
}, },
async hasDesignImagesCanvasJsonList(designImagesCanvasJsonList) { async hasDesignImagesCanvasJsonList(designImagesCanvasJsonList) {
let imageResList = []; let imageResList = [];
if (this.detail.diyId && this.detail.adjustable && designImagesCanvasJsonList) { if (
this.detail.diyId &&
this.detail.adjustable &&
designImagesCanvasJsonList
) {
designImagesCanvasJsonList = JSON.parse(designImagesCanvasJsonList); designImagesCanvasJsonList = JSON.parse(designImagesCanvasJsonList);
if (!designImagesCanvasJsonList[0].images) { if (!designImagesCanvasJsonList[0].images) {
let imageList = await this.canvasToImage(designImagesCanvasJsonList); let imageList = await this.canvasToImage(designImagesCanvasJsonList);
...@@ -323,7 +327,6 @@ export default { ...@@ -323,7 +327,6 @@ export default {
item.productionFile = item.url; item.productionFile = item.url;
}); });
imageResList = Sres.data; imageResList = Sres.data;
} else { } else {
// designImagesCanvasJsonList.forEach((el) => { // designImagesCanvasJsonList.forEach((el) => {
// el.images.forEach((item) => { // el.images.forEach((item) => {
...@@ -460,6 +463,7 @@ export default { ...@@ -460,6 +463,7 @@ export default {
} finally { } finally {
this.isFirst = false; this.isFirst = false;
} }
}
}, },
// // 聚焦资源管理器窗口(Windows) // // 聚焦资源管理器窗口(Windows)
focusExplorerWindow(path) { focusExplorerWindow(path) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment