1 parent
76bc24d2bd
commit
01cbdc9875
73 files changed
+4722
-538
No files matched your search
@@ -8,10 +8,12 @@
|
||||
|
||||
<script setup>
|
||||
import { useRouter } from 'vue-router'
|
||||
import $http from "../http/http";
|
||||
import { reactive, ref } from 'vue'
|
||||
import useGroupStore from '../stores/group'
|
||||
import lang from '../i18n/i18n';
|
||||
import { getCurrentInstance } from 'vue'
|
||||
const app = getCurrentInstance()
|
||||
const $http = app.appContext.config.globalProperties.$http
|
||||
|
||||
const groupStore = useGroupStore()
|
||||
const router = useRouter()
|
||||
@@ -19,6 +21,7 @@ const router = useRouter()
|
||||
|
||||
const data = ref([])
|
||||
|
||||
|
||||
$http.get('/api/group').then(res => {
|
||||
data.value = res.data
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user