mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 15:29:26 +00:00
Update to UIX for alpha version
This commit is contained in:
parent
2098aface9
commit
3cc0a2017d
20 changed files with 88 additions and 65 deletions
|
|
@ -2,7 +2,9 @@ import { useDeviceStore } from '@/stores/device'
|
|||
import CryptoJS from 'crypto-js'
|
||||
|
||||
export const appUrl = () => {
|
||||
return window.location.port !== 6970 ? `http://${window.location.hostname}:6970` : ''
|
||||
return window.location.port !== import.meta.env.VITE_MCRM__PORT
|
||||
? `http://${window.location.hostname}:${import.meta.env.VITE_MCRM__PORT}`
|
||||
: ''
|
||||
}
|
||||
|
||||
export const isLocal = () => {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,5 @@ export const RunMacro = async (macro) => {
|
|||
}
|
||||
|
||||
export const CheckMacroListChange = (oldList, newList) => {
|
||||
console.log(oldList, JSON.stringify(newList))
|
||||
|
||||
return oldList !== JSON.stringify(newList)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue