tweak mock

This commit is contained in:
Pan
2019-03-18 15:51:48 +08:00
parent 05ca5cae6d
commit 686d0acd6d
11 changed files with 171 additions and 114 deletions

View File

@@ -21,7 +21,7 @@
</template>
<script>
import { fetchList } from '@/api/transaction'
import { transactionList } from '@/api/remoteSearch'
export default {
filters: {
@@ -46,7 +46,7 @@ export default {
},
methods: {
fetchData() {
fetchList().then(response => {
transactionList().then(response => {
this.list = response.data.items.slice(0, 8)
})
}