redis数据集插件。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
471 B

import { model, Model } from '@core/core';
@model()
export class PreviewModel extends Model {
static xtype = 'plugin.model.report.redis.components.preview';
childContext = <const>['previewAble', 'previewedDataSet'];
state() {
return {
previewAble: true,
previewedDataSet: {},
};
}
actions = {
setPreviewedDataSet: (value: any) => {
this.model.previewedDataSet = value;
},
}
}