|
@@ -12,11 +12,11 @@
|
|
|
<Tabs class="van-tabs--list" v-model:active="active" :swipe-threshold="4">
|
|
<Tabs class="van-tabs--list" v-model:active="active" :swipe-threshold="4">
|
|
|
<template v-for="(item, index) in components" :key="index">
|
|
<template v-for="(item, index) in components" :key="index">
|
|
|
<Tab :title="item.title" :name="index">
|
|
<Tab :title="item.title" :name="index">
|
|
|
- <component :is="item.component" />
|
|
|
|
|
|
|
+ <component :is="item.component" v-bind="{ fromTrade }" />
|
|
|
</Tab>
|
|
</Tab>
|
|
|
</template>
|
|
</template>
|
|
|
</Tabs>
|
|
</Tabs>
|
|
|
- <component ref="componentRef" :is="selectedComponent.detail" v-bind="{ fromTrade }" @closed="closeComponent"
|
|
|
|
|
|
|
+ <component ref="componentRef" :is="selectedComponent.detail" @closed="closeComponent"
|
|
|
v-if="componentId && selectedComponent.detail" />
|
|
v-if="componentId && selectedComponent.detail" />
|
|
|
</app-view>
|
|
</app-view>
|
|
|
</template>
|
|
</template>
|