|
@@ -6,7 +6,7 @@ import { getToken } from "@/libs/auth"
|
|
import { httpAjax } from "@/plugin/httpAjax"
|
|
import { httpAjax } from "@/plugin/httpAjax"
|
|
|
|
|
|
import userStore from "@/store/modules/user"
|
|
import userStore from "@/store/modules/user"
|
|
-import { ref } from "vue"
|
|
|
|
|
|
+import { ref, shallowRef } from "vue"
|
|
|
|
|
|
/**
|
|
/**
|
|
* 搜索数据
|
|
* 搜索数据
|
|
@@ -14,7 +14,7 @@ import { ref } from "vue"
|
|
export const useFunction = () => {
|
|
export const useFunction = () => {
|
|
const userStoreHook = userStore()
|
|
const userStoreHook = userStore()
|
|
const loading = ref(false)
|
|
const loading = ref(false)
|
|
- const instrumentCodes = ref<any>({}) // 乐器code
|
|
|
|
|
|
+ const instrumentCodes = shallowRef<any>({}) // 乐器code
|
|
|
|
|
|
/** 跳转云教练 */
|
|
/** 跳转云教练 */
|
|
const isPracticeShow = ref(false)
|
|
const isPracticeShow = ref(false)
|