修改了模型文件命名,中文打包后有问题。
This commit is contained in:
parent
1b1bada016
commit
d25ce01bb9
@ -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');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user