zs il y a 1 an
Parent
commit
bc07fbc145

+ 1 - 1
src/views/core/course/index.vue

@@ -32,7 +32,7 @@ onMounted(async () => {
 })
 const search = async (query = { skip: 0, limit }) => {
   const info = { skip: query.skip, limit: query.limit, ...searchForm.value }
-  const res = await store.special(info)
+  const res = await store.query(info)
   if (res.errcode == '0') {
     data.value = res.data
     total.value = res.total

+ 1 - 1
src/views/core/opinion/index.vue

@@ -32,7 +32,7 @@ onMounted(async () => {
 })
 const search = async (query = { skip: 0, limit }) => {
   const info = { skip: query.skip, limit: query.limit, ...searchForm.value }
-  const res = await store.special(info)
+  const res = await store.query(info)
   if (res.errcode == '0') {
     data.value = res.data
     total.value = res.total

+ 1 - 1
src/views/core/order/index.vue

@@ -32,7 +32,7 @@ onMounted(async () => {
 })
 const search = async (query = { skip: 0, limit }) => {
   const info = { skip: query.skip, limit: query.limit, ...searchForm.value }
-  const res = await store.special(info)
+  const res = await store.query(info)
   if (res.errcode == '0') {
     data.value = res.data
     total.value = res.total