mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
feat: update environment variables, enhance login functionality with password hashing, and improve UI components for better user experience
This commit is contained in:
parent
26d3998a70
commit
98869d5fce
10 changed files with 105 additions and 29 deletions
|
@ -13,9 +13,10 @@ const emit = defineEmits(["close"]);
|
|||
|
||||
const isDragging = ref(false);
|
||||
const position = ref({
|
||||
x: props.initialX || Math.floor(window.innerWidth / 2) - Math.random() * 200,
|
||||
y: props.initialY || Math.floor(window.innerHeight / 2) - Math.random() * 10,
|
||||
x: props.initialX || Math.floor(window.innerWidth / 2 - (parseInt(props.width || '400') / 2)),
|
||||
y: props.initialY || Math.floor(window.innerHeight / 2 - (parseInt(props.height || '300') / 2)),
|
||||
});
|
||||
|
||||
const offset = ref({ x: 0, y: 0 });
|
||||
|
||||
const doDrag = useThrottleFn((e: MouseEvent) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue