Skip to content

Commit

Permalink
feat:GSE2.0 切换过程接入点屏蔽
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 7101
  • Loading branch information
hyunfa committed May 6, 2024
1 parent 4d55e71 commit e247840
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/views/agent/config/editTableConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ export const config: ISetupHead[] = [
placeholder: window.i18n.t('请选择'),
manualProp: true,
getBatch() {
// 同一类数据(都是v1或者v2)时候可以批量
return !window.PROJECT_CONFIG?.ENABLE_AP_VERSION_MUTEX
|| window.PROJECT_CONFIG?.ENABLE_AP_VERSION_MUTEX !== 'True'
|| this.table?.data?.every(row => row.gse_version === 'V1');
|| this.table?.data?.every((row: ISetupRow) => row.gse_version === this.table?.data[0].gse_version);
},
getOptions(oldRow) {
let row = oldRow;
Expand Down

0 comments on commit e247840

Please sign in to comment.