提交 0722cc48 编写于 作者: tony001's avatar tony001

Revert "修复表格中下拉列表初始化无数据情况"

This reverts commit 8f4370cd.
上级 8f4370cd
......@@ -138,14 +138,6 @@ import { Environment } from '@/environments/environment';
*/
public codeListService:CodeListService = new CodeListService({ $store: this.$store });
/**
* 表格通讯对象
*
* @type {Subject<any>}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public gridState: Subject<any> = new Subject();
/**
* 界面UI服务对象
*
......@@ -767,7 +759,6 @@ import { Environment } from '@/environments/environment';
Object.assign(item,this.getActionState(item));
});
this.$emit('load', this.items);
this.gridState.next({ type: 'load', data: this.items });
// 设置默认选中
let _this = this;
setTimeout(() => {
......
......@@ -7,8 +7,7 @@
:disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
:data="row"
:context="context"
:viewparams="viewparams"
:formState = "gridState"
:viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
<#if item.getPSCodeList()??>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册