Browse Source

无JIRA 修复husky pre-push报错

research/10.0
zsmj1994 5 years ago
parent
commit
89001f0770
  1. 6
      src/modules/pages/database/database.ts

6
src/modules/pages/database/database.ts

@ -1,4 +1,4 @@
import { SearchEditor, Vtape, Right, Htape, Vertical, ButtonGroup, Left, VerticalAdapt, Label, MultiSelectItem, CenterAdapt } from 'ui';
import { SearchEditor, Vtape, Right, Htape, Vertical, ButtonGroup, Left, Label, MultiSelectItem, CenterAdapt } from 'ui';
import { shortcut, store } from '@core/core';
import { FilterXtype } from './filter/filter';
import { DatebaseModel, DatebaseModelXtype } from './database.model';
@ -45,7 +45,7 @@ export class Datebase extends BI.Widget {
datebaseTypes: () => {
this.datebaseType.populate(this.renderDatebaseType());
},
'isInternal || isPlugin' : () => {
'isInternal || isPlugin': () => {
this.internalWidget.setSelected(this.model.isInternal);
this.pluginWidget.setSelected(this.model.isPlugin);
if (this.model.filter === DATEBASE_FILTER_TYPE.ALL) {
@ -215,7 +215,7 @@ export class Datebase extends BI.Widget {
if (this.model.datebaseTypes.length === 0) {
return this.renderNoResult();
}
return this.model.datebaseTypes.map(item => {
return {
type: DatebaseTypeXtype,

Loading…
Cancel
Save