|
@@ -101,12 +101,13 @@ const NewsForm: React.FC<NewsProps> = (props) => {
|
101
|
101
|
if(!props.open) return;
|
102
|
102
|
// const { title, content, surface, surfaceUrl, date } = props;
|
103
|
103
|
if(!props.currentRow) return;
|
104
|
|
- const { digest, top,key,content,surface,surfaceUrl,date,title,source} = props.currentRow;
|
|
104
|
+ const { digest, top,key,content,surface,surfaceUrl,date,title,source,column} = props.currentRow;
|
105
|
105
|
if (props.currentRow) {
|
106
|
106
|
form.setFieldsValue({
|
107
|
107
|
digest,
|
108
|
108
|
top,
|
109
|
|
- key
|
|
109
|
+ key,
|
|
110
|
+ column
|
110
|
111
|
})
|
111
|
112
|
// if (top) {
|
112
|
113
|
// setCheckTop(1)
|