WuPenglin opened a new issue, #2821:
URL: https://github.com/apache/apisix-dashboard/issues/2821
### Issue description
举例使用prometheus插件,提交下方配置:
{
"_meta": {
"disable": false,
"filter": [
[
"uri",
"~=",
"/exe/xxxxxx/"
]
]
}
}
filter会被吞掉,消失了,再次点开插件编辑,显示如下:
{
"_meta": {
"disable": false
}
}
### Expected behavior
1. filter配置比较关键,应该保留,不应该被吞掉;
2. 使用命令行配置是ok的,然后WEB显示也正确,我目前使用的是这个方法,求尽快解决;
3. 推测是前端代码;
### How to Reproduce
1.路由页面
2.点击配置
3.下一步,进行插件配置
4.选择任意插件,输入以下:
{
"_meta": {
"disable": false,
"filter": [
[
"uri",
"~=",
"/exe/xxxxxx/"
]
]
}
}
5.提交插件配置
6.再次点击插件编辑,发现filter配置消失
### Screenshots


### Environment
- apisix version (cmd: `apisix version`):
3.2.0
- OS (cmd: `uname -a`):
Linux server02 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020
x86_64 x86_64 x86_64 GNU/Linux
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
nginx version: openresty/1.21.4.1
- etcd version, if have (cmd: run `etcd --version`):
etcd Version: 3.5.4
Git SHA: 08407ff76
Go Version: go1.16.15
Go OS/Arch: linux/amd64- apisix-dashboard version, if have:
- Browser version, if have:
Google Chrome 版本 113.0.5672.126(正式版本) (arm64)
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]