Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/d2-projects/d2-admin into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed Sep 1, 2020
2 parents cb98286 + 4e2c5e4 commit cfa627e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/demo/d2-crud-plus/mock/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const apiList = req(require.context('../', true, /mock\.js$/))
apiList.forEach(apiFile => {
for (const item of apiFile) {
mock
.onAny(new RegExp('^' + item.path))
.onAny(new RegExp('^/api' + item.path))
.reply(config => {
console.log('------------fake request start -------------')
console.log('request:', config)
Expand Down

0 comments on commit cfa627e

Please sign in to comment.