diff --git a/src/directives/modules/waterMarker.ts b/src/directives/modules/waterMarker.ts index c97e95c..773b3b2 100644 --- a/src/directives/modules/waterMarker.ts +++ b/src/directives/modules/waterMarker.ts @@ -19,6 +19,7 @@ let style = ` height: 100%; background-repeat: repeat; pointer-events: none; + z-index: 100; `; let systemConfig = {}; import type { Directive, DirectiveBinding } from "vue"; @@ -27,7 +28,7 @@ import { getSystemConfig } from "@/api/modules/jxjview"; const getConfigMarker = async () => { // 获取起重机械设备类型字典 const { result } = await getSystemConfig({ configKey: "system_watermark" }); - systemConfig = result; + systemConfig = result[0]; console.log(result); }; // 设置水印 diff --git a/src/views/enterprise/hoistingMachineryRecord/index.vue b/src/views/enterprise/hoistingMachineryRecord/index.vue index a9c5d66..643db56 100644 --- a/src/views/enterprise/hoistingMachineryRecord/index.vue +++ b/src/views/enterprise/hoistingMachineryRecord/index.vue @@ -1,5 +1,5 @@