Browse Source

json引入格式修改

master
Fuyuu 1 year ago
parent
commit
10f5587a96
  1. 2
      src/views/earthMap/edit/EarthComp.vue
  2. 2
      src/views/earthMap/show/EarthComp.vue

2
src/views/earthMap/edit/EarthComp.vue

@ -89,7 +89,7 @@
<script lang="ts">
import { Options, Vue } from 'vue-class-component';
import sceneTree from `@/assets/earthMap/resjson/sc.json`;
import sceneTree from '@/assets/earthMap/resjson/sc.json';
import { defHttp } from '/@/utils/http/axios';
import earthUtils from "@/utils/earthMap/earth"
import _ from 'lodash'

2
src/views/earthMap/show/EarthComp.vue

@ -80,7 +80,7 @@
<script lang="ts">
import { Options, Vue } from 'vue-class-component';
import sceneTree from `@/assets/earthMap/resjson/sc.json`;
import sceneTree from '@/assets/earthMap/resjson/sc.json';
import { defHttp } from '/@/utils/http/axios';
import earthUtils from "@/utils/earthMap/earth"
import _ from 'lodash'

Loading…
Cancel
Save