qdt-admin-layout 1.1.32 → 1.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qdt-admin-layout",
3
- "version": "1.1.32",
3
+ "version": "1.1.34",
4
4
  "description": "基于element-ui的后台管理layout的管家婆改版",
5
5
  "main": "src/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -70,6 +70,7 @@ export default {
70
70
 
71
71
  return (
72
72
  <div class="user-dropdown-reference">
73
+ <slot name="before-time"></slot>
73
74
  <span class="username time">{this.newTime}</span>
74
75
  <span class="username shu">|</span>
75
76
  <div id="downloadTrigger" class="download-trigger">
@@ -199,4 +200,4 @@ export default {
199
200
  );
200
201
  },
201
202
  };
202
- </script>
203
+ </script>
@@ -84,6 +84,11 @@ export default {
84
84
  methods: {
85
85
  // 将el-menu的select事件传递给外部
86
86
  onSelect(...args) {
87
+ console.log(...args, 'args');
88
+ if (args[0].includes('/large-screen-visualization')) {
89
+ window.open(args[0], '_blank');
90
+ return;
91
+ }
87
92
  this.$emit("select", ...args);
88
93
  },
89
94