1 Commits

Author SHA1 Message Date
9335c16763 回滚更新 2025-05-30 14:36:01 +08:00
2 changed files with 1 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "material-editor",
"private": true,
"version": "1.0.12",
"version": "1.0.13",
"type": "module",
"scripts": {
"dev": "vite",

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) => {