Skip to content

Commit 5ea686b

Browse files
committed
fix(view): not found
1 parent a95f602 commit 5ea686b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

admin/src/views/api_excel/edit.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</template>
5656

5757
<script>
58-
import { getList } from '@/api/api_param'
58+
import { getListParam } from '@/api/api_param'
5959
import { postEdit, edit } from '@/api/api_excel'
6060
import { getToken } from '@/utils/auth'
6161
@@ -111,7 +111,7 @@ export default {
111111
this.$emit('getItem', this.form.apiParam)
112112
},
113113
init() {
114-
getList({ perPage: 20 }).then(response => {
114+
getListParam({ perPage: 20 }).then(response => {
115115
this.apiParam = response.data.data
116116
})
117117
},

admin/src/views/api_param/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
</template>
8383

8484
<script>
85-
import { getList, deleteAct, search } from '@/api/api_param'
85+
import { getListParam, deleteAct, search } from '@/api/api_param'
8686
8787
export default {
8888
filters: {
@@ -116,7 +116,7 @@ export default {
116116
fetchData() {
117117
this.listLoading = true
118118
const params = Object.assign({ 'page': this.listQuery.page }, { 'perPage': this.perpage })
119-
getList(params).then(response => {
119+
getListParam(params).then(response => {
120120
this.list = response.data.data
121121
this.listLoading = false
122122
this.total = response.data.total

0 commit comments

Comments
 (0)