 1) Vue.prototype.$message.error(msg.obj);
        }
      },
      async resetXrayConfigToDefault() {
        this.loading(true);
        const msg = await HttpUtil.get("/panel/setting/getDefaultJsonConfig");
        this.loading(false);
        if (msg.success) {
          this.templateSettings = JSON.parse(JSON.stringify(msg.obj, null, 2));
          this.saveBtnDisable = true;
        }
      },
      changePage(pageKey) {
        if (pageKey == 'tpl-advanced') this.changeCode();
        if (pageKey == 