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

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

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