mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix:高版本node报错
This commit is contained in:
parent
b92c557b19
commit
6765ecfc85
4 changed files with 26 additions and 2 deletions
|
|
@ -1,4 +1,7 @@
|
|||
import WeaponId2Sprite from '../../resources/map/WeaponId2Sprite.json' assert { type: 'json' };
|
||||
// import WeaponId2Sprite from '../../resources/map/WeaponId2Sprite.json' assert { type: 'json' };
|
||||
import { getMapData } from '../../utils/file.js';
|
||||
|
||||
const WeaponId2Sprite = getMapData('WeaponId2Sprite');
|
||||
|
||||
/**
|
||||
* @param {string} id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue