lse
        });
      },
      editDNSServer(index) {
        dnsModal.show({
          title: '{{ i18n "pages.xray.dns.edit" }} #' + (index + 1),
          dnsServer: this.dnsServers[index],
          confirm: (dnsServer) => {
            dnsServers = this.dnsServers;
            dnsServers[index] = dnsServer;
            this.dnsServers = dnsServers;
            dnsModal.close();
          },
          isEdit: true
        });
      },
      deleteDNSServer(index) {
        newDnsServers = this.dnsServers