Commit 461da88c authored by wcmoon's avatar wcmoon

fix: 修复没有查看权限bug

parent 4f8b1b43
...@@ -28,7 +28,7 @@ export default class MainHeader extends Vue { ...@@ -28,7 +28,7 @@ export default class MainHeader extends Vue {
} }
} }
public mounted() { public mounted() {
this.getUserInfos(); // this.getUserInfos();
} }
} }
</script> </script>
......
...@@ -377,8 +377,8 @@ export default class editTemplate extends Vue { ...@@ -377,8 +377,8 @@ export default class editTemplate extends Vue {
data.data?.forEach((item:any) => { data.data?.forEach((item:any) => {
if (item.label === "上链原因") { if (item.label === "上链原因") {
this.reason = item.data.value; this.reason = item.data.value;
} else { } else if (item.data.length) {
const hashes:string[] = item.data?.map((i: any) => i.value); const hashes:string[] = item.data.map((i: any) => i.value);
this.getUploadedFiles(hashes); this.getUploadedFiles(hashes);
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment