import { _decorator, Component, Node } from 'cc'; import JNScrollViewItem from '../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollViewItem'; import { TB } from '../../config/data/schema'; import { Label } from 'cc'; const { ccclass, property } = _decorator; @ccclass('DungeonShowItem') export class DungeonShowItem extends JNScrollViewItem { //副本名称 @property(Label) title:Label; onInit(){ this.onUpdateView(); } onUpdateView(){ this.title.string = this.data.name; } }