Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 1.14 在线调试开发 #757

Merged
merged 525 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
525 commits
Select commit Hold shift + click to select a range
5dc724f
feat: 修复前端问题
ielgnaw Apr 1, 2024
b86100c
Merge remote-tracking branch 'base/master'
ielgnaw Apr 1, 2024
caf8479
Merge remote-tracking branch 'base/master'
ielgnaw Apr 1, 2024
235aaf7
feat: 国际化问题
ielgnaw Apr 2, 2024
25180f3
fix: 体验问题修复
shuzhenyang Apr 2, 2024
566023a
Merge pull request #34 from shuzhenyang/master
ielgnaw Apr 2, 2024
2ef266b
Merge remote-tracking branch 'base/master'
ielgnaw Apr 2, 2024
d010162
Merge remote-tracking branch 'base/master'
ielgnaw Apr 2, 2024
9fa94c7
feat: 修复前端问题
ielgnaw Apr 2, 2024
46cbaea
Merge remote-tracking branch 'base/master'
ielgnaw Apr 3, 2024
93e58ad
feat: 修复前端问题
ielgnaw Apr 3, 2024
41b2da8
Merge remote-tracking branch 'base/master'
ielgnaw Apr 3, 2024
11300b5
feat: 修复前端问题
ielgnaw Apr 3, 2024
73c9f76
fix: 合并master代码
lhzzforever Apr 3, 2024
d61032c
Merge remote-tracking branch 'base/master'
ielgnaw Apr 7, 2024
fd44e08
feat: 修复前端问题
ielgnaw Apr 7, 2024
38d9ce8
Merge remote-tracking branch 'base/master'
ielgnaw Apr 7, 2024
e649953
Merge remote-tracking branch 'base/master'
ielgnaw Apr 7, 2024
8c325da
Merge remote-tracking branch 'base/master'
ielgnaw Apr 7, 2024
350b673
Merge remote-tracking branch 'base/master'
ielgnaw Apr 7, 2024
d07bbfd
Merge remote-tracking branch 'base/master'
ielgnaw Apr 7, 2024
0b2aa92
feat: 修复前端问题
ielgnaw Apr 7, 2024
e795474
Merge remote-tracking branch 'base/master'
ielgnaw Apr 7, 2024
5025ea6
fix: 修复体验问题
shuzhenyang Apr 7, 2024
a3ac129
Merge pull request #35 from shuzhenyang/master
ielgnaw Apr 7, 2024
2b8e63d
Merge remote-tracking branch 'base/master'
ielgnaw Apr 8, 2024
390852d
feat: 修复前端问题
ielgnaw Apr 8, 2024
b49f5f6
Merge remote-tracking branch 'base/master'
ielgnaw Apr 8, 2024
90b730a
Merge remote-tracking branch 'base/master'
ielgnaw Apr 8, 2024
f1e58ca
feat: 修复前端问题
ielgnaw Apr 8, 2024
3143069
fix: 体验问题修复
shuzhenyang Apr 9, 2024
7bbd9bc
Merge pull request #36 from shuzhenyang/master
ielgnaw Apr 9, 2024
caa28bf
feat: merge
ielgnaw Apr 9, 2024
8c645be
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw Apr 9, 2024
b65a94c
feat: 修复前端问题
ielgnaw Apr 9, 2024
814d02a
Merge remote-tracking branch 'base/master'
ielgnaw Apr 9, 2024
1c197b1
fix: 修复体验问题
shuzhenyang Apr 10, 2024
a83d5fe
feat: 修复前端问题
ielgnaw Apr 11, 2024
483e2d9
Merge remote-tracking branch 'base/master'
ielgnaw Apr 11, 2024
002fb40
feat: 前端版本日志
ielgnaw Apr 11, 2024
3a59e0b
Merge remote-tracking branch 'base/master'
ielgnaw Apr 11, 2024
3d37d0e
fix: 修复体验问题
shuzhenyang Apr 11, 2024
8c27b14
Merge pull request #37 from shuzhenyang/master
ielgnaw Apr 11, 2024
39b78fb
Merge remote-tracking branch 'base/master'
ielgnaw Apr 11, 2024
dd501e4
feat: 【APIgateway1.13 】发布失败的日志点进去,时间超长
ielgnaw Apr 11, 2024
a2487c8
feat: 【APIgateway1.13 】发布失败的日志点进去,时间超长
ielgnaw Apr 11, 2024
29f1e95
Merge remote-tracking branch 'base/master'
ielgnaw Apr 11, 2024
d5f4e44
fix: 修复体验问题
shuzhenyang Apr 12, 2024
6cb2488
Merge pull request #38 from shuzhenyang/master
ielgnaw Apr 15, 2024
d745270
Merge remote-tracking branch 'base/master'
ielgnaw Apr 15, 2024
46bf18b
Merge remote-tracking branch 'base/master'
ielgnaw Apr 15, 2024
3a6b6f0
feat: 修复前端问题
ielgnaw Apr 15, 2024
36e7b40
Merge remote-tracking branch 'base/master'
ielgnaw Apr 15, 2024
142babc
Merge remote-tracking branch 'base/master'
ielgnaw Apr 15, 2024
bdc5c2f
feat: 文案修改
ielgnaw Apr 15, 2024
30d3dc6
Merge remote-tracking branch 'upstream/master' into dev/develop_ci
lhzzforever Apr 16, 2024
e105156
Merge remote-tracking branch 'base/master'
ielgnaw Apr 16, 2024
088b860
feat: 修复前端问题
ielgnaw Apr 16, 2024
b67e2d8
Merge remote-tracking branch 'base/master'
ielgnaw Apr 16, 2024
a1c1c31
fix: 修复体验问题
shuzhenyang Apr 16, 2024
d7dcb0a
Merge pull request #39 from shuzhenyang/master
ielgnaw Apr 17, 2024
eff0580
Merge remote-tracking branch 'base/master'
ielgnaw Apr 17, 2024
a1f4e4c
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw Apr 17, 2024
1c65a16
feat: 修复前端问题
ielgnaw Apr 17, 2024
a0bfe49
feat: 修复前端问题
ielgnaw Apr 17, 2024
5eb6ec1
Merge remote-tracking branch 'base/master'
ielgnaw Apr 17, 2024
b7d0efc
feat: 修复前端问题
ielgnaw Apr 17, 2024
46024f4
Merge remote-tracking branch 'base/master'
ielgnaw Apr 17, 2024
4d712e3
Merge remote-tracking branch 'base/master'
ielgnaw Apr 17, 2024
afc1402
Merge remote-tracking branch 'base/master'
ielgnaw Apr 17, 2024
875767e
fix: 修复体验问题
shuzhenyang Apr 18, 2024
2d42058
Merge remote-tracking branch 'base/master'
ielgnaw Apr 18, 2024
1ce6a87
Merge pull request #40 from shuzhenyang/master
ielgnaw Apr 18, 2024
2c1980e
fix: 体验问题修复
shuzhenyang Apr 19, 2024
fe2a55a
Merge pull request #41 from shuzhenyang/master
ielgnaw Apr 21, 2024
dc0e0eb
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw Apr 21, 2024
88d58e9
Merge remote-tracking branch 'base/master'
ielgnaw Apr 21, 2024
0e7ae8e
feat: 修复前端问题
ielgnaw Apr 21, 2024
70ca00a
Merge remote-tracking branch 'base/master'
ielgnaw Apr 21, 2024
d4276d9
fix: 修复体验问题
shuzhenyang Apr 23, 2024
3e23611
Merge pull request #42 from shuzhenyang/master
ielgnaw Apr 24, 2024
e927fa0
Merge remote-tracking branch 'base/master'
ielgnaw Apr 24, 2024
884cff4
Merge remote-tracking branch 'base/master'
ielgnaw Apr 24, 2024
3be159b
Merge remote-tracking branch 'base/master'
ielgnaw Apr 24, 2024
4366833
feat: 修复无法登出的问题
ielgnaw Apr 24, 2024
69aa9f6
Merge remote-tracking branch 'base/master'
ielgnaw Apr 24, 2024
83690fb
Merge remote-tracking branch 'base/master'
ielgnaw Apr 24, 2024
b46e12e
fix: 体验问题修复
shuzhenyang Apr 24, 2024
6df0397
Merge pull request #43 from shuzhenyang/master
ielgnaw Apr 25, 2024
ad5aaec
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw Apr 25, 2024
9c84b72
feat: 修复前端问题
ielgnaw Apr 25, 2024
e3d230e
Merge remote-tracking branch 'base/master'
ielgnaw Apr 25, 2024
6fb38ea
fix: 体验问题修复
shuzhenyang Apr 26, 2024
1b04ce8
fix: 修复体验问题
shuzhenyang Apr 28, 2024
66973d1
fix: 体验问题修复
shuzhenyang Apr 30, 2024
576cd02
Merge pull request #44 from shuzhenyang/master
ielgnaw May 3, 2024
422b29b
Merge remote-tracking branch 'base/master'
ielgnaw May 3, 2024
094f69b
feat: 修复前端问题
ielgnaw May 3, 2024
318dad6
Merge remote-tracking branch 'base/master'
ielgnaw May 3, 2024
e56cbbf
fix: 修复体验问题
shuzhenyang May 6, 2024
01a3b1f
Merge pull request #45 from shuzhenyang/master
ielgnaw May 7, 2024
c46caee
Merge remote-tracking branch 'base/master'
ielgnaw May 7, 2024
38ee872
fix: 修复体验问题
shuzhenyang May 7, 2024
0a4e993
Merge pull request #46 from shuzhenyang/master
ielgnaw May 8, 2024
1c3fc4e
Merge remote-tracking branch 'base/master'
ielgnaw May 8, 2024
0ef7415
fix: 修复体验问题
shuzhenyang May 8, 2024
2ca8c3a
feature: 合并master代码
lhzzforever May 9, 2024
700c5bb
Merge pull request #47 from shuzhenyang/master
ielgnaw May 9, 2024
caffe18
feat: 【必须】点击编辑后,光标应该落在输入框内,需要支持回车 与 鼠标失焦都能保存
ielgnaw May 9, 2024
3d6df11
Merge remote-tracking branch 'base/master'
ielgnaw May 9, 2024
a2c9829
fix: 修复体验问题
shuzhenyang May 9, 2024
8939975
Merge pull request #48 from shuzhenyang/master
ielgnaw May 10, 2024
b25cb66
fix: 修复体验问题
shuzhenyang May 10, 2024
259f184
fix: 修复体验问题
shuzhenyang May 11, 2024
4af9146
Merge remote-tracking branch 'base/master'
ielgnaw May 11, 2024
0d1fec6
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw May 11, 2024
db3454b
Merge remote-tracking branch 'upstream/master' into dev/develop_ci
lhzzforever May 11, 2024
6e6a174
feature: 小窗登录iframe方式改为window.open
lhzzforever May 11, 2024
1b4ab15
Merge branch 'master' into dev/develop_ci
lhzzforever May 11, 2024
d907acd
Merge pull request #49 from lhzzforever/dev/develop_ci
ielgnaw May 12, 2024
8cd0606
Merge pull request #50 from shuzhenyang/master
ielgnaw May 12, 2024
9bb65cb
Merge remote-tracking branch 'base/master'
ielgnaw May 12, 2024
6db8406
fix: 修复体验问题
shuzhenyang May 13, 2024
e39d5fb
Merge pull request #51 from shuzhenyang/master
ielgnaw May 14, 2024
9ebbe45
feat: 修复前端问题
ielgnaw May 14, 2024
c7e2d7d
Merge remote-tracking branch 'base/master'
ielgnaw May 14, 2024
66c747a
Merge remote-tracking branch 'base/master'
ielgnaw May 14, 2024
107db02
Merge remote-tracking branch 'base/master'
ielgnaw May 14, 2024
1d91d85
feat: 修复 新建资源页面,环境配置中的超时时间是 30 秒,但添加资源时变成了 0 秒,数据未同步
ielgnaw May 14, 2024
cd37ad4
Merge remote-tracking branch 'base/master'
ielgnaw May 14, 2024
3929985
Merge remote-tracking branch 'base/master'
ielgnaw May 14, 2024
7f7b4ec
fix: 修复体验问题
shuzhenyang May 15, 2024
8893be5
Merge pull request #52 from shuzhenyang/master
ielgnaw May 16, 2024
28966e3
Merge remote-tracking branch 'base/master'
ielgnaw May 16, 2024
5c8a326
fix: 修复体验问题
shuzhenyang May 17, 2024
ec79e4b
Merge pull request #53 from shuzhenyang/master
ielgnaw May 18, 2024
a9d02e3
Merge remote-tracking branch 'base/master'
ielgnaw May 20, 2024
2b87508
fix: 变量管理 编辑时才显示增加删除按钮
ielgnaw May 20, 2024
5b83fac
Merge remote-tracking branch 'base/master'
ielgnaw May 20, 2024
6096791
Merge remote-tracking branch 'base/master'
ielgnaw May 21, 2024
a0e6507
feat: 国际化
ielgnaw May 21, 2024
4b5eb5e
feat: 国际化
ielgnaw May 21, 2024
04e48a3
Merge remote-tracking branch 'base/master'
ielgnaw May 21, 2024
e66959c
feat: 国际化
ielgnaw May 21, 2024
e71629c
Merge remote-tracking branch 'base/master'
ielgnaw May 21, 2024
d504e36
Merge remote-tracking branch 'base/master'
ielgnaw May 21, 2024
b495cd4
feat: 修复插件管理问题
ielgnaw May 21, 2024
d0c5ad8
backport: 1.13.1 (#659)
wklken May 22, 2024
a8232d8
Merge remote-tracking branch 'base/master'
ielgnaw May 23, 2024
21a772a
feat: 退出登录加上 is_from_logout 参数
ielgnaw May 23, 2024
2a55009
fix: 体验问题修复
shuzhenyang May 24, 2024
753e453
Merge remote-tracking branch 'base/master'
ielgnaw May 27, 2024
ece513e
Merge pull request #54 from shuzhenyang/master
ielgnaw May 27, 2024
41b2931
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw May 27, 2024
5292337
feat: 修复前端问题
ielgnaw May 27, 2024
d6e768b
Merge remote-tracking branch 'base/master'
ielgnaw May 27, 2024
25751ab
Merge pull request #663 from TencentBlueKing/master
wklken May 27, 2024
9a0fe43
Merge remote-tracking branch 'base/master'
ielgnaw May 29, 2024
1d64e55
feat: eslint 问题
ielgnaw May 29, 2024
5176d5f
Merge remote-tracking branch 'base/master'
ielgnaw May 29, 2024
aef1f5a
fix: 体验问题修复
shuzhenyang May 29, 2024
edde2b7
fix: 修复体验问题
shuzhenyang May 29, 2024
884eb3e
Merge pull request #55 from shuzhenyang/master
ielgnaw May 30, 2024
29b99fd
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw May 30, 2024
0f2ca34
fix: 体验问题修复
shuzhenyang May 30, 2024
80c9ec0
Merge remote-tracking branch 'upstream/master'
shuzhenyang May 30, 2024
40cf63c
Merge pull request #56 from shuzhenyang/master
ielgnaw May 30, 2024
5d7b03f
Merge branch 'master' into master
ielgnaw May 30, 2024
5680a13
feat: merge
ielgnaw May 30, 2024
eca57c6
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw May 30, 2024
b7f1f9d
Merge pull request #671 from TencentBlueKing/master
wklken May 30, 2024
1ff9666
feat: 修复基本信息编辑时,弹框中维护人员不显示的问题
ielgnaw Jun 3, 2024
872a1bd
Merge remote-tracking branch 'base/master'
ielgnaw Jun 11, 2024
698230b
feat: 修复前端问题
ielgnaw Jun 11, 2024
f6abcde
Merge remote-tracking branch 'base/master'
ielgnaw Jun 11, 2024
406610c
Merge pull request #686 from TencentBlueKing/master
wklken Jun 11, 2024
d8d50b5
Merge pull request #688 from TencentBlueKing/master
wklken Jun 11, 2024
963e96b
Merge pull request #692 from TencentBlueKing/master
wklken Jun 12, 2024
54ce311
Merge remote-tracking branch 'base/master'
ielgnaw Jun 14, 2024
d6b6437
feat: 修复通知中心访问地址
ielgnaw Jun 14, 2024
95e1a15
Merge remote-tracking branch 'base/master'
ielgnaw Jun 14, 2024
6934f06
feat: 修复通知中心访问地址
ielgnaw Jun 14, 2024
8645191
Merge remote-tracking branch 'base/master'
ielgnaw Jun 14, 2024
3e41916
Merge pull request #698 from TencentBlueKing/master
wklken Jun 14, 2024
5c97a07
Merge remote-tracking branch 'base/master'
ielgnaw Jun 17, 2024
7b133bc
Merge remote-tracking branch 'base/master'
ielgnaw Jun 17, 2024
449f53a
Merge remote-tracking branch 'upstream/release/1.13'
shuzhenyang Jun 17, 2024
6994c80
feat: 修复编辑基础信息弹框中维护人员不回显的问题
ielgnaw Jun 19, 2024
d452536
feat: 修复编辑基础信息弹框中维护人员不回显的问题 (#703)
ielgnaw Jun 19, 2024
2707e3d
Merge remote-tracking branch 'base/release/1.13' into release/1.13
ielgnaw Jun 19, 2024
c98894a
Merge remote-tracking branch 'base/master'
ielgnaw Jun 19, 2024
73f8dc3
feat: 修复编辑基础信息弹框中维护人员不回显的问题
ielgnaw Jun 19, 2024
1a6e94f
Merge remote-tracking branch 'base/master'
ielgnaw Jun 19, 2024
55bd5c3
Merge remote-tracking branch 'upstream/release/1.13'
shuzhenyang Jun 20, 2024
9d6ca1f
feat: 全局配置开发完成
shuzhenyang Jun 20, 2024
40ef2e4
Merge remote-tracking branch 'upstream/master'
shuzhenyang Jun 20, 2024
ee4c50d
feat: 全局配置
ielgnaw Jun 21, 2024
fd41ae1
Merge remote-tracking branch 'base/master'
ielgnaw Jun 21, 2024
8ccea9c
Merge remote-tracking branch 'base/master'
ielgnaw Jun 21, 2024
b3a6ef2
merge code
shuzhenyang Jun 24, 2024
c0ba9b2
Merge remote-tracking branch 'base/master'
ielgnaw Jun 25, 2024
5e50d95
Merge remote-tracking branch 'base/master'
ielgnaw Jun 25, 2024
7a84c5c
Merge remote-tracking branch 'upstream/master'
shuzhenyang Jun 26, 2024
4792e42
feat: 日志优化前端功能开发&&“校验并查看地址”展示的路径不全时没有tooltips&&发布记录:导航样式不对&&通过环境概览页面发…
shuzhenyang Jun 26, 2024
785ed88
Merge remote-tracking branch 'base/master'
ielgnaw Jun 27, 2024
f6b048e
Merge remote-tracking branch 'base/master'
ielgnaw Jun 27, 2024
6fbc712
Merge pull request #58 from shuzhenyang/master
ielgnaw Jun 27, 2024
62547ce
feat: 1.14功能开发
ielgnaw Jun 27, 2024
bb51324
Merge remote-tracking branch 'base/master'
ielgnaw Jun 27, 2024
2ec918f
feat: 1.14功能开发
shuzhenyang Jun 27, 2024
b032b3f
Merge remote-tracking branch 'base/master'
ielgnaw Jun 28, 2024
eba3317
feat: 修复基本信息编辑时,弹框中维护人员不显示的问题;获取全局配置 BK_APP_CODE 动态获取
ielgnaw Jun 28, 2024
fbf3acc
Merge remote-tracking branch 'base/master'
ielgnaw Jun 28, 2024
c600895
Merge pull request #59 from shuzhenyang/master
ielgnaw Jun 28, 2024
068b010
Merge remote-tracking branch 'base/master'
ielgnaw Jun 28, 2024
e024667
feat: 1.14版本开发
shuzhenyang Jun 28, 2024
3941055
feat: 优化全局配置相关逻辑;全局配置增加本地开发 mock 接口
ielgnaw Jun 28, 2024
d9d4697
Merge remote-tracking branch 'base/master'
ielgnaw Jun 28, 2024
fb2d26f
feat: 1.14版本开发
shuzhenyang Jun 28, 2024
359a192
Merge remote-tracking branch 'upstream/master'
shuzhenyang Jun 28, 2024
acf025a
Merge pull request #60 from shuzhenyang/master
ielgnaw Jun 30, 2024
073a2c2
Merge remote-tracking branch 'base/master'
ielgnaw Jun 30, 2024
0ee47f0
feat: 1.14开发
shuzhenyang Jul 1, 2024
82aea88
Merge pull request #61 from shuzhenyang/master
ielgnaw Jul 2, 2024
9771fb8
Merge remote-tracking branch 'base/master'
ielgnaw Jul 2, 2024
9574bea
feat: 1.14功能开发
shuzhenyang Jul 2, 2024
87818b1
Merge pull request #62 from shuzhenyang/master
ielgnaw Jul 3, 2024
b23ca36
Merge remote-tracking branch 'base/master'
ielgnaw Jul 3, 2024
c682362
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw Jul 3, 2024
8f0c13c
feat: 1.14 开发
ielgnaw Jul 3, 2024
ac0370d
Merge remote-tracking branch 'base/master'
ielgnaw Jul 3, 2024
599ff7e
feat: 1.14 开发 (#63)
shuzhenyang Jul 3, 2024
0a72480
feat: 1.14 开发
ielgnaw Jul 3, 2024
a47feb4
Merge remote-tracking branch 'base/master'
ielgnaw Jul 4, 2024
37112f1
feat: 修复编辑基础信息弹框中维护人员不回显的问题
ielgnaw Jul 4, 2024
d58d0c7
feat: 1.14 开发 (#64)
shuzhenyang Jul 4, 2024
05787a4
Merge remote-tracking branch 'base/master'
ielgnaw Jul 4, 2024
2857b89
feat: 修复资源配置列表 标签列 filter 导致页面加载错误的问题
ielgnaw Jul 4, 2024
430156d
Merge remote-tracking branch 'base/master'
ielgnaw Jul 4, 2024
e7797a5
Merge remote-tracking branch 'base/master'
ielgnaw Jul 5, 2024
9689a59
feat: 修复资源配置列表 标签列 filter 导致页面加载错误的问题
ielgnaw Jul 5, 2024
fca8ec7
Merge remote-tracking branch 'base/master'
ielgnaw Jul 5, 2024
df34b1f
feat: 1.14 开发 (#65)
shuzhenyang Jul 7, 2024
2b2cfb5
feat: 1.14 开发 (#66)
shuzhenyang Jul 10, 2024
db68347
Merge remote-tracking branch 'base/master'
ielgnaw Jul 10, 2024
55ae1a8
Merge remote-tracking branch 'base/master'
ielgnaw Jul 10, 2024
14d5232
Merge remote-tracking branch 'base/master'
ielgnaw Jul 16, 2024
313fb63
feat: 1.14 在线调试开发 (#67)
shuzhenyang Jul 21, 2024
e33eae4
Merge branch 'master' of https://github.com/ielgnaw/blueking-apigateway
ielgnaw Jul 21, 2024
4d9fa38
feat: 1.14 在线调试开发
ielgnaw Jul 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/dashboard-front/src/components/ag-editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ const props = defineProps({
readOnly: { type: Boolean, default: false },
width: { type: [String, Number], default: '100%' },
height: { type: [String, Number], default: '100%' },
theme: { type: String, default: 'vs-dark' },
});

const { modelValue, language, readOnly, width, height } = toRefs(props);
const { modelValue, language, readOnly, width, height, theme } = toRefs(props);

const emit = defineEmits(['change', 'update:modelValue']);

Expand Down Expand Up @@ -67,7 +68,7 @@ const getValue = () => {
const initEditor = () => {
editor = monaco.editor.create(monacoEditor.value, {
value: modelValue.value,
theme: 'vs-dark', // 主题
theme: theme.value, // 主题
language: language.value,
folding: true, // 是否折叠
foldingHighlight: true, // 折叠等高线
Expand Down
63 changes: 63 additions & 0 deletions src/dashboard-front/src/components/online-test-top.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<template>
<div class="resource-top-bar" :style="stage.getNotUpdatedStages?.length ? 'top: 42px' : 'top: -1px'">
<div class="top-title-wrapper">
<div class="title">{{ t('在线调试') }}</div>
<div class="history">
<i class="apigateway-icon icon-ag-cc-history history-icon"></i>
<span>请求记录</span>
</div>
</div>
</div>
</template>

<script setup lang="ts">
// import { computed } from 'vue';
// import { useRoute } from 'vue-router';
import { useI18n } from 'vue-i18n';
import { useStage } from '@/store';

const { t } = useI18n();
const stage = useStage();

// const route = useRoute();
// const apigwId = computed(() => +route.params.id);

// const props = defineProps({
// });
</script>

<style lang="scss" scoped>
.resource-top-bar {
position: absolute;
width: 100%;
height: 52px;
box-sizing: border-box;
padding: 0 24px;
background: #FFFFFF;
display: flex;
align-items: center;
justify-content: space-between;
min-width: 1280px;
.top-title-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
.title {
font-size: 16px;
color: #313238;
margin-right: 8px;
}
.history {
color: #3A84FF;
cursor: pointer;
.history-icon {
font-size: 16px;
}
span {
font-size: 12px;
}
}
}
}
</style>
Loading
Loading