whistle.mock-plugins 1.1.3-dev.18 → 1.1.3-dev.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whistle.mock-plugins",
3
- "version": "1.1.3-dev.18",
3
+ "version": "1.1.3-dev.19",
4
4
  "description": "Whistle 插件,用于快速创建 API 模拟数据",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -1318,7 +1318,11 @@ const InterfaceManagement = () => {
1318
1318
  }}
1319
1319
  >
1320
1320
  <Collapse
1321
- defaultActiveKey={editingInterface ? ['3'] : ['1', '2', '3']}
1321
+ defaultActiveKey={
1322
+ editingInterface
1323
+ ? (editingInterface.proxyType === 'response' ? ['3'] : ['1', '2'])
1324
+ : ['1', '2', '3']
1325
+ }
1322
1326
  style={{ marginBottom: '16px' }}
1323
1327
  ghost
1324
1328
  >