ソースを参照

Merge branch 'master' of http://git.ycjcjy.com/marketing/pc-admin into master

张延森 3 年 前
コミット
4afee01921
共有2 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 1
    1
      src/pages/Live/video/List/index.jsx
  2. 2
    2
      src/pages/building/Edit/Apartment/Form.jsx

+ 1
- 1
src/pages/Live/video/List/index.jsx ファイルの表示

39
 
39
 
40
 
40
 
41
   const onPublish = row => {
41
   const onPublish = row => {
42
-    const buidingStatus = row.status === 1 ? 2 : 1;
42
+   
43
     request({ ...apis.video.publish, urlData: { id: row.videoId } })
43
     request({ ...apis.video.publish, urlData: { id: row.videoId } })
44
       .then(() => {
44
       .then(() => {
45
         message.success( '操作成功');
45
         message.success( '操作成功');

+ 2
- 2
src/pages/building/Edit/Apartment/Form.jsx ファイルの表示

121
         })(
121
         })(
122
           <Select placeholder="销售状态">
122
           <Select placeholder="销售状态">
123
             {saleType.map((item, _) => (
123
             {saleType.map((item, _) => (
124
-              <Option value={item.id}>{item.name}</Option>
124
+              <Option value={item.id} key={item.id}>{item.name}</Option>
125
             ))}
125
             ))}
126
           </Select>,
126
           </Select>,
127
         )}
127
         )}
137
         })(
137
         })(
138
           <Select placeholder="户型">
138
           <Select placeholder="户型">
139
             {houseType.map((item, _) => (
139
             {houseType.map((item, _) => (
140
-              <Option value={item.id}>{item.name}</Option>
140
+              <Option value={item.id} key={item.id}>{item.name}</Option>
141
             ))}
141
             ))}
142
           </Select>,
142
           </Select>,
143
         )}
143
         )}