import BaseFormControl from '../../baseFormControl';
import sysShopCategoryTpl from './tpl';
import './style.scss';
class SysShopCategory extends BaseFormControl {
    constructor(config) {
        super(config);
        this.config = $.extend(true, {}, config);
        this.appendFormControl(sysShopCategoryTpl);
    }
    getData() {
        const { name } = this.config.domData;
        return {
            [name]: { status: 1 }
        };
    }
}
export default SysShopCategory;