RuoYi
2021-11-24 31106c91fbf8a3b8ad5ab97e5bfd9263fa24c898
ruoyi-ui/src/components/HeaderSearch/index.vue
@@ -70,9 +70,11 @@
      this.show = false
    },
    change(val) {
      const path = val.path;
      if(this.ishttp(val.path)) {
        // http(s):// 路径新窗口打开
        window.open(val.path, "_blank");
        const pindex = path.indexOf("http");
        window.open(path.substr(pindex, path.length), "_blank");
      } else {
        this.$router.push(val.path)
      }