|
@@ -12,7 +12,7 @@
|
|
|
<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" v-bind="{ fromTrade, goodsCode }" />
|
|
|
|
|
|
|
+ <component :is="item.component" />
|
|
|
</Tab>
|
|
</Tab>
|
|
|
</template>
|
|
</template>
|
|
|
</Tabs>
|
|
</Tabs>
|
|
@@ -28,8 +28,6 @@ import { useComponent } from '@/hooks/component'
|
|
|
import { i18n } from '@/stores'
|
|
import { i18n } from '@/stores'
|
|
|
|
|
|
|
|
const { global: { t } } = i18n
|
|
const { global: { t } } = i18n
|
|
|
-const fromTrade = false
|
|
|
|
|
-const goodsCode = ''
|
|
|
|
|
|
|
|
|
|
const components = [
|
|
const components = [
|
|
|
{
|
|
{
|