REQ-3045: 不要在链接中保留过多无用的字段
This commit is contained in:
parent
4310ac2499
commit
0dee318578
@ -46,7 +46,8 @@ public class MessageTemplateButtonV3ServiceImpl implements MessageTemplateButton
|
||||
if (item.getCategory() == RouterCategoryEnum.ACTION) {
|
||||
item.setUrlConfig(null);
|
||||
}
|
||||
if (item.getUrlConfig() != null) {
|
||||
if (item.getCategory() != RouterCategoryEnum.JUMP
|
||||
&& item.getUrlConfig() != null) {
|
||||
item.getUrlConfig().setFieldsNullIfUrlAbsent();
|
||||
}
|
||||
return buttonV3;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user