diff --git a/src/Add-on/BuyMaterial.ts b/src/Add-on/BuyMaterial.ts index e01904e9e..d454d2a90 100644 --- a/src/Add-on/BuyMaterial.ts +++ b/src/Add-on/BuyMaterial.ts @@ -1,5 +1,5 @@ -import { Command } from "../Editor/CommandMachine"; import { app } from "../ApplicationServices/Application"; +import { Command } from "../Editor/CommandMachine"; import { MetarialShop } from './../UI/MaterialEditor/MaterialShop'; export class BuyMaterial implements Command diff --git a/src/UI/Components/CommandPanel/CommandList.ts b/src/UI/Components/CommandPanel/CommandList.ts index e2c74df9f..a7dc0f061 100644 --- a/src/UI/Components/CommandPanel/CommandList.ts +++ b/src/UI/Components/CommandPanel/CommandList.ts @@ -801,7 +801,7 @@ export const CommandList: ICommand[] = [ }, { typeId: "bjbj", - defaultCustom: "BUYMATERIAL", + defaultCustom: CommandNames.SelectAll, command: CommandNames.SelectAll, type: "全选", chName: "全选",