fix: 修改mock方式

This commit is contained in:
MTrun
2022-03-24 09:19:14 +08:00
parent a7b2d5a24b
commit 0d1c24c536
5 changed files with 49 additions and 31 deletions
@@ -21,7 +21,7 @@
<span>
开发环境使用 mock 数据请输入
<n-text type="info">
{{featchMockData}}
{{mockDataUrl}}
</n-text>
</span>
@@ -58,7 +58,7 @@ import { ref, toRefs } from 'vue'
import { icon } from '@/plugins'
import { SettingItemBox } from '@/components/ChartItemSetting/index'
import { RequestHttpEnum } from '@/enums/httpEnum'
import { featchMockData } from '@/api/mock'
import { mockDataUrl } from '@/api/mock'
import { http } from '@/api/http'
import { SelectHttpType } from '../../index.d'
import { ChartDataMatchingAndShow } from '../ChartDataMatchingAndShow'