🐛 bugfix:无法打包问题,原因:import clone 从 unocss 导致

This commit is contained in:
YunaiV 2024-02-18 20:58:01 +08:00
parent cd86c08e59
commit f01bb2dc78
9 changed files with 9 additions and 9 deletions

View File

@ -20,7 +20,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank' import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank'
import { EChartsOption } from 'echarts' import { EChartsOption } from 'echarts'
import { clone } from 'unocss' import { clone } from 'lodash-es'
defineOptions({ name: 'ContactsCountRank' }) defineOptions({ name: 'ContactsCountRank' })
const props = defineProps<{ queryParams: any }>() // const props = defineProps<{ queryParams: any }>() //

View File

@ -20,7 +20,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank' import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank'
import { EChartsOption } from 'echarts' import { EChartsOption } from 'echarts'
import { clone } from 'unocss' import { clone } from 'lodash-es'
defineOptions({ name: 'ContractCountRank' }) defineOptions({ name: 'ContractCountRank' })
const props = defineProps<{ queryParams: any }>() // const props = defineProps<{ queryParams: any }>() //

View File

@ -20,7 +20,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank' import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank'
import { EChartsOption } from 'echarts' import { EChartsOption } from 'echarts'
import { clone } from 'unocss' import { clone } from 'lodash-es'
defineOptions({ name: 'ContractPriceRank' }) defineOptions({ name: 'ContractPriceRank' })
const props = defineProps<{ queryParams: any }>() // const props = defineProps<{ queryParams: any }>() //

View File

@ -20,7 +20,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank' import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank'
import { EChartsOption } from 'echarts' import { EChartsOption } from 'echarts'
import { clone } from 'unocss' import { clone } from 'lodash-es'
defineOptions({ name: 'CustomerCountRank' }) defineOptions({ name: 'CustomerCountRank' })
const props = defineProps<{ queryParams: any }>() // const props = defineProps<{ queryParams: any }>() //

View File

@ -20,7 +20,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank' import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank'
import { EChartsOption } from 'echarts' import { EChartsOption } from 'echarts'
import { clone } from 'unocss' import { clone } from 'lodash-es'
defineOptions({ name: 'FollowCountRank' }) defineOptions({ name: 'FollowCountRank' })
const props = defineProps<{ queryParams: any }>() // const props = defineProps<{ queryParams: any }>() //

View File

@ -20,7 +20,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank' import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank'
import { EChartsOption } from 'echarts' import { EChartsOption } from 'echarts'
import { clone } from 'unocss' import { clone } from 'lodash-es'
defineOptions({ name: 'FollowCustomerCountRank' }) defineOptions({ name: 'FollowCustomerCountRank' })
const props = defineProps<{ queryParams: any }>() // const props = defineProps<{ queryParams: any }>() //

View File

@ -20,7 +20,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank' import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank'
import { EChartsOption } from 'echarts' import { EChartsOption } from 'echarts'
import { clone } from 'unocss' import { clone } from 'lodash-es'
defineOptions({ name: 'ProductSalesRank' }) defineOptions({ name: 'ProductSalesRank' })
const props = defineProps<{ queryParams: any }>() // const props = defineProps<{ queryParams: any }>() //

View File

@ -20,7 +20,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank' import { RankApi, BiRankRespVO } from '@/api/crm/bi/rank'
import { EChartsOption } from 'echarts' import { EChartsOption } from 'echarts'
import { clone } from 'unocss' import { clone } from 'lodash-es'
defineOptions({ name: 'ReceivablePriceRank' }) defineOptions({ name: 'ReceivablePriceRank' })
const props = defineProps<{ queryParams: any }>() // const props = defineProps<{ queryParams: any }>() //

View File

@ -154,7 +154,7 @@ import * as UserApi from '@/api/system/user'
import * as ContactApi from '@/api/crm/contact' import * as ContactApi from '@/api/crm/contact'
import * as BusinessApi from '@/api/crm/business' import * as BusinessApi from '@/api/crm/business'
import ProductList from '@/views/crm/contract/components/ProductList.vue' import ProductList from '@/views/crm/contract/components/ProductList.vue'
import BPMLModel from '@/views/crm/contract/components/BPMLModel.vue' // import BPMLModel from '@/views/crm/contract/components/BPMLModel.vue'
defineOptions({ name: 'ContractDetailOA' }) defineOptions({ name: 'ContractDetailOA' })
const props = defineProps<{ id?: number }>() const props = defineProps<{ id?: number }>()