fix: 解决预览问题

This commit is contained in:
wanganmao
2023-01-12 10:58:16 +08:00
parent 2c20021ea7
commit 0d1ee15a47
3 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@@ -23,9 +23,11 @@ const onLoadingCompletion = async () => {
const res = await getMaterialsById(route.query.id);
const data = res.data.materials[0].space_json;
selCommodity.value = data.commodity;
setTimeout(() => {
selTexture.value = data.texture;
selCommodity.value = data.commodity;
setTimeout(() => {
selTexture.value = data.texture;
}, 100)
}, 100)
}