Commit b0ba88fa authored by 满振华's avatar 满振华
parents 981764ed f3cf7e75
......@@ -12,6 +12,7 @@ import secondIcon from '../assets/second.png';
import thirdIcon from '../assets/third.png';
import expandIcon from '../assets/extend.png';
import { transferAttr } from './base/_utils/transferAttr';
import { emptyModel } from '@/submodule/components/apolloTable/component/base/_utils/setFormatter';
const Cell = (props: CellProps) => {
const {
......@@ -54,10 +55,13 @@ const Cell = (props: CellProps) => {
const changeCellData = (changedValue: any, option?: any) => {};
const emitChangeCellData = (changedValue: any, optionValue: any) => {
const temp: CellDataProps[] = [];
let temp: CellDataProps[] = [];
cellData.map((item: CellDataProps) => {
temp.push({ text: item.text, value: item.value });
});
if (temp.length === 0) {
temp = emptyModel;
}
if (_.isEqual(temp, changedValue)) {
setStatus('detail');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment