whistle.mock-plugins 1.2.2-beta.3 → 1.2.2-beta.5
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/VERSION.md +21 -0
- package/app/public/js/index.js +1 -1
- package/package.json +1 -1
- package/ui/src/components/interface-management/DataManagementDrawer.js +115 -0
- package/ui/src/components/interface-management/index.js +1 -0
- package/ui/src/pages/InterfaceManagementV2.js +755 -63
- package/ui/src/pages/Settings.js +75 -6
- package/ui/src/styles/settings.css +29 -0
package/VERSION.md
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
# 🔄 版本更新记录
|
|
2
|
+
## v1.2.2-beta.5
|
|
3
|
+
### ✨ Feature
|
|
4
|
+
- **交互增强**:接口表单(添加/编辑接口)支持弹窗/抽屉模式切换
|
|
5
|
+
- **设置新增**:系统设置页面新增"接口表单交互"开关,支持弹窗/抽屉模式切换
|
|
6
|
+
- **实时生效**:切换交互模式后立即生效,无需刷新页面
|
|
7
|
+
- **用户体验**:弹窗模式更适合快速操作,抽屉模式提供更大的操作空间
|
|
8
|
+
|
|
9
|
+
### 🔧 Technical
|
|
10
|
+
- **条件渲染**:根据 interfaceFormDisplayMode 配置动态选择 Modal 或 Drawer
|
|
11
|
+
- **配置管理**:使用 localStorage 存储交互模式配置
|
|
12
|
+
- **事件监听**:通过 storage 事件实现跨页面配置同步
|
|
13
|
+
- **表单复用**:Modal 和 Drawer 共享相同的表单逻辑和验证规则
|
|
14
|
+
|
|
15
|
+
## v1.2.2-beta.4
|
|
16
|
+
### ✨ Feature
|
|
17
|
+
- **交互增强**:数据管理支持抽屉模式,从右侧滑出,宽度 1040px,上下撑满
|
|
18
|
+
- **设置新增**:系统设置页面新增"数据管理交互"开关,支持弹窗/抽屉模式切换
|
|
19
|
+
- **实时生效**:切换交互模式后立即生效,无需刷新页面
|
|
20
|
+
- **全列拖动**:接口列表所有列均支持拖动调整宽度
|
|
21
|
+
- **拖动优化**:拖动时实时更新列宽,提供流畅的视觉反馈
|
|
22
|
+
|
|
2
23
|
## v1.2.2-beta.3
|
|
3
24
|
### ✨ Feature
|
|
4
25
|
- **交互优化**:接口列表"当前响应"列支持拖动调整宽度
|