提交 84368701 authored 作者: ch's avatar ch

11

上级 66cf2fce
......@@ -523,6 +523,7 @@ export default class tableCom extends Component {
json.labelName,
json.valueName,
allValues,
json.isMeta
);
}
break;
......@@ -1148,13 +1149,13 @@ export default class tableCom extends Component {
}
}
fetchData3 = (obj, dataColumn, init, sqlKey, labelName, valueName, allValues) => {
fetchData3 = (obj, dataColumn, init, sqlKey, labelName, valueName, allValues,isMeta) => {
const { dispatch } = this.props;
if (init != null && Object.keys(init).length > 0) {
dispatch({
type: 'DataColumn/getSqlOptions',
payload: { sqlKey, allValues },
payload: { sqlKey, allValues,isMeta},
callback: options => {
const optionsx = [];
let base52 = dataColumn.base52;
......@@ -1186,7 +1187,7 @@ export default class tableCom extends Component {
if (obj[base52]) {
dispatch({
type: 'DataColumn/getSqlLabels',
payload: { sqlKey, values: obj[base52], labelName, valueName, allValues },
payload: { sqlKey, values: obj[base52], labelName, valueName, allValues,isMeta},
callback: labels => {
this.setState({ labels, selectDis: false });
},
......@@ -1195,7 +1196,7 @@ export default class tableCom extends Component {
} else {
dispatch({
type: 'DataColumn/getSqlOptions',
payload: { sqlKey, allValues },
payload: { sqlKey, allValues,isMeta},
callback: options => {
// console.log(options);
let base52 = dataColumn.base52;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论