diff --git a/src/api/customAxios.ts b/src/api/customAxios.ts
index 8312332..39b23b7 100644
--- a/src/api/customAxios.ts
+++ b/src/api/customAxios.ts
@@ -149,7 +149,7 @@ axios.interceptors.response.use((response) => {
}
return response
},error =>{
- let xhrErrL = { type: "XHRERR", data: error.response };
+ // let xhrErrL = { type: "XHRERR", data: error.response };
if (error.response) {
const { status, data } = error.response;
if (status === 422) {
diff --git a/src/components/sort-college/CollegeItem.vue b/src/components/sort-college/CollegeItem.vue
index fbcc971..6212e74 100644
--- a/src/components/sort-college/CollegeItem.vue
+++ b/src/components/sort-college/CollegeItem.vue
@@ -43,7 +43,7 @@
-
+
@@ -59,7 +59,7 @@ import VirtualList from "vue-virtual-draglist";
import MajorItem from './MajorItem.vue'
import DataTable from './DataTable.vue';
-const props = defineProps<{
+defineProps<{
college: any
score: number
collegeIndex: number
@@ -72,28 +72,28 @@ const toggleCollapse = () => {
isCollapsed.value = !isCollapsed.value
}
-const handleMove = () => {
- emit('move')
-}
-const handleDelete = () => {
- emit('delete')
-}
+// const handleMove = () => {
+// emit('move')
+// }
+// const handleDelete = () => {
+// emit('delete')
+// }
-const majorDrop = ref()
+// const majorDrop = ref()
-const handleMajorMove = (index:number) => {
- majorDrop.value.handleLongpress(index)
-}
+// const handleMajorMove = (index:number) => {
+// majorDrop.value.handleLongpress(index)
+// }
-const getMajorList = (list:any[]) => {
+// const getMajorList = (list:any[]) => {
-}
+// }
-const handleMajorDelete = (index:number) => {
- majorDrop.value.initList(props.college.vItems, true).then(() => {
- emit('deleteMajor', index)
- })
-}
+// const handleMajorDelete = (index:number) => {
+// majorDrop.value.initList(props.college.vItems, true).then(() => {
+// emit('deleteMajor', index)
+// })
+// }
diff --git a/src/components/sort-college/HeaderTip.vue b/src/components/sort-college/HeaderTip.vue
index 782a73f..95e66cb 100644
--- a/src/components/sort-college/HeaderTip.vue
+++ b/src/components/sort-college/HeaderTip.vue
@@ -45,8 +45,8 @@ const props = defineProps({
}
})
-const userWhishList = ref([])
-const tModels = ref([])
+const userWhishList = ref
([])
+const tModels = ref([])
watch(() => props.wishList, (newVal) => {
userWhishList.value = newVal
diff --git a/src/views/sort-college.vue b/src/views/sort-college.vue
index 49dd1cc..6a293e8 100644
--- a/src/views/sort-college.vue
+++ b/src/views/sort-college.vue
@@ -3,7 +3,7 @@
-
+
@@ -26,16 +26,16 @@
const subjectGroup = ref("");
const locationCode = ref("");
const wishList = ref([]);
- const handleClick = () => {
- alert(localStorage.getItem("userInfo"));
- uni.postMessage({
- data: {
- action: "message",
- message: location.search,
- },
- });
- getWishList();
- };
+ // const handleClick = () => {
+ // alert(localStorage.getItem("userInfo"));
+ // uni.postMessage({
+ // data: {
+ // action: "message",
+ // message: location.search,
+ // },
+ // });
+ // getWishList();
+ // };
onBeforeMount(() => {
let _mapParams: { [key: string]: any } = {};