CHINAMI-P698360\Administrator пре 1 недеља
родитељ
комит
7ce205d419
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/system/dashboard/components/util.js

+ 1 - 1
src/views/system/dashboard/components/util.js

@@ -261,7 +261,7 @@ export function buildComponent(name, column, preview, vm) {
             getNavigation().then((res) => {
               const { data = [] } = res || {}
               data.forEach((item) => {
-                if (!item.userId) {
+                if (!item.urlAddr.includes('http')) {
                   item.urlAddr = `${BASE_URL}#${item.urlAddr}`
                 }
               })