111
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# VITE_APP_URL = http://192.168.31.82:8771
|
||||
VITE_APP_URL = http://18.167.251.121:10015
|
||||
# VITE_APP_URL = http://192.168.31.118:8080
|
||||
VITE_APP_URL = http://192.168.31.82:8755
|
||||
# VITE_APP_URL = http://192.168.31.82:8755
|
||||
VITE_GOOGLE_CLIENT_ID = 216037134725-7q8vqp0ohtmohlosltkfg7bd2v29rm5a.apps.googleusercontent.com
|
||||
|
||||
@@ -99,7 +99,8 @@
|
||||
|
||||
const exportFlow = () => {
|
||||
// flowManager.exportFlow()
|
||||
console.log(flowManager.exportFlow())
|
||||
const json = JSON.parse(JSON.stringify(stateManager.nodes.value))
|
||||
console.log(json)
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
@@ -45,7 +45,7 @@ const router = createRouter({
|
||||
component: () => import('../views/home/index.vue'),
|
||||
children: [
|
||||
{
|
||||
path: 'test/:id',
|
||||
path: 'test',
|
||||
name: 'test',
|
||||
component: () => import('../views/home/test.vue'),
|
||||
meta: { topNavStyle: '2' }
|
||||
|
||||
@@ -15,6 +15,9 @@
|
||||
<span class="icon"><svg-icon name="home" size="24" /></span>
|
||||
<span class="title" v-show="!isCollapse">{{ $t('Home.home') }}</span>
|
||||
</div> -->
|
||||
<div class="menu-item" @click="onTest">
|
||||
<span class="title" v-show="!isCollapse">TEST</span>
|
||||
</div>
|
||||
<div class="menu-item" @click="onHistory" :class="{ active: showHistory }">
|
||||
<span class="icon"><svg-icon name="history" size="24" /></span>
|
||||
<span class="title" v-show="!isCollapse">{{ $t('Home.history') }}</span>
|
||||
@@ -102,6 +105,9 @@
|
||||
router.push({ name: 'mainInput' })
|
||||
}
|
||||
const onHome = () => {}
|
||||
const onTest = () => {
|
||||
router.push({ name: 'test' })
|
||||
}
|
||||
const onHistory = () => {
|
||||
if (isCollapse.value) {
|
||||
globalStore.setHomeLeftNavCollapse(false)
|
||||
@@ -218,6 +224,12 @@
|
||||
cursor: pointer;
|
||||
border-radius: 8px;
|
||||
padding: 0.9rem 0.8rem;
|
||||
> * {
|
||||
margin-right: 1.6rem;
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background-color: rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
@@ -225,7 +237,6 @@
|
||||
flex: 1;
|
||||
font-weight: 500;
|
||||
font-size: 2rem;
|
||||
margin: 0 1.6rem;
|
||||
}
|
||||
> .icon {
|
||||
transition: transform 0.2s ease-in-out;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div class="test">
|
||||
<p>Conversation Item - {{ id }}</p>
|
||||
<button @click="openCanvas">打开画布</button>
|
||||
</div>
|
||||
</template>
|
||||
@@ -10,7 +9,6 @@
|
||||
import { computed, onMounted } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
const route = useRoute()
|
||||
const id = computed(() => route.params.id)
|
||||
const openCanvas = () => {
|
||||
myEvent.emit('openFlowCanvas', {
|
||||
url: 'https://s3-alpha-sig.figma.com/img/ea2f/590e/9638f62a2fc91e31f33db0022db1642c?Expires=1773014400&Key-Pair-Id=APKAQ4GOSFWCW27IBOMQ&Signature=M0B8oJJOk~dGG0aZAqOIocAp7T0LFdJ9FYmCrEZVTCRzYxM6SJRNtYMTX-rTO3Z~s14QINh~o-S41XiZnBv-0zcKjuWot~VVaNHfd0~1LesfNe2KwvCinT~72btFut1pheLnKE-wWCX5ewtonxU77bnw386YPMTqv7DBZzksf2udsJA7NmOYD6~TUG3Q2dWSt~zPH~lkaidscPqpCnCbqzljCEi4RiHY4U3A45l5XypcX2umqn1UaYUFCTqV9471J4qdB6Dg2pcKocdp-7-3s1De6Q~2SmBOrSgDQ~KEADCB2lhKfhxgWmy0lwMvhTd4l90ygVZDWZRABgjHNrGUvg__'
|
||||
@@ -25,7 +23,7 @@
|
||||
.test {
|
||||
margin: 2rem;
|
||||
border-radius: 2rem;
|
||||
background-color: rgb(242, 130, 90);
|
||||
background-color: rgb(255, 255, 255);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
Reference in New Issue
Block a user