fix export bug

This commit is contained in:
aaron 2025-04-02 15:33:48 +08:00
parent 724a2d60a3
commit a50060f25f
5 changed files with 6 additions and 5 deletions

View File

@ -50,7 +50,7 @@
<script> <script>
import { ref, reactive, onMounted, onBeforeUnmount } from 'vue' import { ref, reactive, onMounted, onBeforeUnmount } from 'vue'
import { useRouter, useRoute } from 'vue-router' import { useRouter, useRoute } from 'vue-router'
import apiClient from '../services/api' import { apiClient } from '../services/api'
export default { export default {
name: 'CommunityRequest', name: 'CommunityRequest',

View File

@ -176,7 +176,7 @@
<script> <script>
import axios from 'axios'; import axios from 'axios';
import * as echarts from 'echarts'; import * as echarts from 'echarts';
import apiClient from '../services/api' import { apiClient } from '../services/api'
export default { export default {
name: 'Dashboard', name: 'Dashboard',

View File

@ -73,7 +73,7 @@
<script> <script>
import { ref, onMounted, onBeforeUnmount } from 'vue' import { ref, onMounted, onBeforeUnmount } from 'vue'
import apiClient from '../services/api' import { apiClient } from '../services/api'
export default { export default {
name: 'ImageRecognition', name: 'ImageRecognition',

View File

@ -143,7 +143,7 @@
<script> <script>
import { ref, onMounted, onBeforeUnmount, watch } from 'vue' import { ref, onMounted, onBeforeUnmount, watch } from 'vue'
import apiClient from '../services/api' import { apiClient } from '../services/api'
export default { export default {
name: 'SystemHealth', name: 'SystemHealth',

View File

@ -105,4 +105,5 @@ const api = {
} }
} }
export default api export default api
export { apiClient }