工作台页面

This commit is contained in:
2025-04-03 20:25:25 +08:00
parent 32cbc6404a
commit d7d08675c6
9 changed files with 250 additions and 81 deletions

View File

@@ -91,6 +91,9 @@ const router = useRouter();
// let inputValue = ref('999');
// const output = ref('');
// const { callPython, getPythonData } = usePythonBridge();
const formData = ref({
userId: '',
password: '',
@@ -106,7 +109,7 @@ const onSubmit = () => {
console.log(res)
setToken(res.currcode)
setUser(res)
router.push('/hostsList');
router.push('/nav');
})
@@ -117,9 +120,7 @@ const onSubmit = () => {
<style lang="less">
.main {
height: 100vh;
width: 100vw;
// background-color: #ffffff;
.container {
display: flex;
@@ -127,6 +128,7 @@ const onSubmit = () => {
.left {
width: 40%;
height: 100vh;
box-sizing: border-box;
background-color: #1db97d;
padding: 20px 40px;
@@ -134,7 +136,6 @@ const onSubmit = () => {
.right {
width: 60%;
height: 100vh;
background-color: #ffffff;
padding: 20px 40px 20px 50px;