回滚更新

This commit is contained in:
2025-05-30 14:36:01 +08:00
parent d50ed25d54
commit 9335c16763
2 changed files with 1 additions and 3 deletions

View File

@@ -166,13 +166,11 @@ const materialInfo = reactive({
onMounted(async () => {
await scene.ChangeTextureFromUrlAsync(_textureSrc.value[0]);
UpdateTexture();
})
watch(() => props.textureSrcList, async (val) => {
_textureSrc.value = val;
await scene.ChangeTextureFromUrlAsync(_textureSrc.value[0]);
UpdateTexture();
});
watch(textureAdjustment, async (val) => {