|
@@ -1228,12 +1228,18 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
title: "",
|
|
|
description: "",
|
|
|
popoverClass: "popoverClass popoverClassReport3",
|
|
|
- align: "start",
|
|
|
+ align: "end",
|
|
|
side: "bottom",
|
|
|
nextBtnText: "下一步 (3/4)",
|
|
|
showButtons: ["next"],
|
|
|
onPopoverRender: (popover: PopoverDOM, options: { config: Config; state: State }) => {
|
|
|
- driverInitialPosition(popover, options);
|
|
|
+ // driverInitialPosition(popover, options, -1);
|
|
|
+ options.config.stageRadius = 12;
|
|
|
+ options.config.stagePadding = 0;
|
|
|
+ try {
|
|
|
+ const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
+ popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 4 + "px";
|
|
|
+ } catch {}
|
|
|
},
|
|
|
},
|
|
|
},
|