
          title: '{{ i18n "pages.xray.rules.edit"}} ' + (index + 1),
          rule: app.templateSettings.routing.rules[index],
          confirm: (rule) => {
            ruleModal.loading();
            if (JSON.stringify(rule).length > 3) {
              this.templateSettings.routing.rules[index] = rule;
              this.routingRuleSettings = JSON.stringify(this.templateSettings.routing.rules);
            }
            ruleModal.close();
          },
          isEdit: true
        });
      },
      r