This commit is contained in:
Владимир Фёдоров 2025-05-18 21:22:46 +07:00
parent d667590862
commit a9b92b334f
3 changed files with 29 additions and 32 deletions

View File

@ -1,11 +1,10 @@
<script setup lang="ts">
import { ref, nextTick, watch, onMounted } from 'vue';
import { useRouter } from 'vue-router';
import { host } from './net';
const router = useRouter();
const host = "http://192.168.0.110:8090"
type Application = {
name: string
}

View File

@ -1,11 +1,9 @@
<script setup lang="ts">
import { ref } from 'vue';
import { useRouter } from 'vue-router';
import { host } from './net';
const router = useRouter();
const host = "http://192.168.0.110:8090"
const login = ref("")
const password = ref("")
@ -31,7 +29,6 @@ function onClickLogin() {
}
onClickLogin()
</script>
<template>

1
src/components/net.ts Normal file
View File

@ -0,0 +1 @@
export const host = "http://192.168.0.110:8090"