style: 修复代码格式与导入缺失
1. 补全MissionCardComp.ts中缺失的Prefab导入项 2. 统一调整两个文件中的缩进与空格格式问题 3. 修正HInfoComp.ts中的导入语句空格错误
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
* - smc.vmdata.mission_data —— 局内数据(coin / hero_num / hero_max_num)
|
||||
*/
|
||||
import { mLogger } from "../common/Logger";
|
||||
import { _decorator, Label, Node, NodeEventType, Tween, tween, Vec3 } from "cc";
|
||||
import { _decorator, Label, Node, NodeEventType, Prefab, Tween, tween, Vec3 } from "cc";
|
||||
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||
import { GameEvent } from "../common/config/GameEvent";
|
||||
@@ -106,14 +106,20 @@ export class MissionCardComp extends CCComp {
|
||||
@property(Node)
|
||||
closeHeros: Node = null!
|
||||
/** 卡池升级按钮节点(已废弃,保留节点引用防止 editor 报错) */
|
||||
/** 英雄卡牌池cards_node显示隐藏 */
|
||||
/** 英雄卡牌池cards_node显示隐藏 */
|
||||
@property(Node)
|
||||
showEquips: Node = null!
|
||||
/** 关闭英雄卡池按钮(仅负责收起 cards_node) */
|
||||
@property(Node)
|
||||
closeEquips: Node = null!
|
||||
@property(Node)
|
||||
equipsPanNode: Node = null!
|
||||
@property(Node)
|
||||
equipsBoxNode: Node = null!
|
||||
@property(Prefab)
|
||||
equipPrefab: Prefab = null!
|
||||
/** 卡池升级按钮节点(已废弃,保留节点引用防止 editor 报错) */
|
||||
/** 英雄卡牌池cards_node显示隐藏 */
|
||||
/** 英雄卡牌池cards_node显示隐藏 */
|
||||
@property(Node)
|
||||
showShop: Node = null!
|
||||
/** 关闭英雄卡池按钮(仅负责收起 cards_node) */
|
||||
|
||||
Reference in New Issue
Block a user