import { DataManager } from './../../manager/DataManager';
import { Model } from '../Model';
export class RuleModel extends Model {
    /**
     * 规则文案
     */
    public get ruleTxt(): any {
        return DataManager.ins.getRuleData ? DataManager.ins.getRuleData.ruleText : 
            (DataManager.ins.ajaxElementData ? DataManager.ins.ajaxElementData.rule : 
                (window['ruleCFG'] ? window['ruleCFG'] : "规则")
            );
    }
}