销售名片
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
<!-- 侧边栏 -->
|
||||
<Sidebar :tabs="tabs" :current-tab="currentTab" @tab-switch="handleTabSwitch" @go-back="handleGoToConfig"
|
||||
@stop-all="handleStopAll" :is-loading="isLoading" :account-groups="accountGroups"
|
||||
:rotation-status="rotationStatus" :greeting-stats="greetingStats" :automation-logs="automationLogs" />
|
||||
:rotation-status="rotationStatus" :greeting-stats="greetingStats" :automation-logs="automationLogs"
|
||||
:sidebar-width="navSidebarWidth" />
|
||||
|
||||
<!-- 内容区域 -->
|
||||
<main class="flex-1 flex flex-col relative">
|
||||
@@ -64,7 +65,7 @@ import ViewPlaceholder from '@/components/ViewPlaceholder.vue'
|
||||
// Wait, in App.vue these were local state. I needs to move the logic here or keep it in App.vue and pass via props.
|
||||
// To keep valid functionality, I will copy the logic 1:1 here.
|
||||
|
||||
const props = defineProps(['accountGroups', 'rotationStatus', 'greetingStats', 'automationLogs'])
|
||||
const props = defineProps(['accountGroups', 'rotationStatus', 'greetingStats', 'automationLogs', 'navSidebarWidth'])
|
||||
const emit = defineEmits(['go-back', 'stop-all', 'request-config-load'])
|
||||
|
||||
// Constants
|
||||
|
||||
Reference in New Issue
Block a user