|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<div class="relics-layout">
|
|
|
+
|
|
|
<div class="relics-header">
|
|
|
<div class="search">
|
|
|
<el-form label-width="100px" inline>
|
|
@@ -100,10 +101,10 @@ const relicsArray = ref<any[]>([]);
|
|
|
|
|
|
const isNotSuper = computed(
|
|
|
() =>
|
|
|
- user.value.roles.filter(
|
|
|
+ user.value? user.value.roles.filter(
|
|
|
(item) =>
|
|
|
item.roleKey === "system_admin" || item.roleKey === "system_common"
|
|
|
- ).length > 0
|
|
|
+ ).length > 0:false
|
|
|
);
|
|
|
|
|
|
// 1省级 2市级 3县级 4服务商
|