mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-05-20 16:15:47 +08:00
修复请求重写启用状态
This commit is contained in:
@@ -154,6 +154,7 @@ class _RewriteRuleState extends State<RewriteRule> {
|
||||
if ((formKey.currentState as FormState).validate()) {
|
||||
(formKey.currentState as FormState).save();
|
||||
rule.updatePathReg();
|
||||
rule.enabled = enableNotifier.value;
|
||||
if (widget.currentIndex >= 0) {
|
||||
RequestRewrites.instance.rules[widget.currentIndex] = rule;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user