This commit is contained in:
limengnan 2025-12-08 09:18:11 +08:00
commit 4ee9eb2eef
3 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ import { ref, reactive, computed, onMounted, onUnmounted, watch } from 'vue'
import * as THREE from 'three'; import * as THREE from 'three';
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js'; import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
const maleUrl = new URL('../assets/glb/男.glb', import.meta.url).href import maleUrl from '@/assets/glb/male.glb?url'
const femaleUrl = new URL('../assets/glb/女.glb', import.meta.url).href import femaleUrl from '@/assets/glb/female.glb?url'
// const { ipcRenderer } = require('electron'); // const { ipcRenderer } = require('electron');