工作台页面
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user