回滚更新
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "material-editor",
 | 
			
		||||
  "private": true,
 | 
			
		||||
  "version": "1.0.12",
 | 
			
		||||
  "version": "1.0.13",
 | 
			
		||||
  "type": "module",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "dev": "vite",
 | 
			
		||||
 
 | 
			
		||||
@@ -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) => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user