refactor: migrate from Vue CLI to Vite, update WebSocket handling, and clean up configuration
- Replaced vue.config.js with vite.config.js for Vite setup. - Updated WebSocket implementation in webSocket.js for improved readability and performance. - Removed unnecessary comments and cleaned up code formatting. - Configured Vite plugins for auto-imports, SVG icons, and component resolution. - Set up proxy configurations for API endpoints in Vite.
This commit is contained in:
@@ -306,7 +306,7 @@ export class BatchInitializeRedGreenModeCommand extends Command {
|
||||
*/
|
||||
async _setupBackgroundLayer(backgroundLayer, clothingImage) {
|
||||
let backgroundObject = backgroundLayer.fabricObject;
|
||||
const { object } = findObjectById(this.canvas, backgroundObject.id);
|
||||
let { object } = findObjectById(this.canvas, backgroundObject.id);
|
||||
|
||||
if (!object) {
|
||||
// 创建白色背景矩形
|
||||
|
||||
Reference in New Issue
Block a user