Skip to content
This repository was archived by the owner on Mar 13, 2020. It is now read-only.

Commit 77bb768

Browse files
author
eteplus
committed
修复vue-resource访问地址
1 parent 7f7f398 commit 77bb768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ routerConfig(router)
2323
// Resource
2424
Vue.use(VueResource)
2525

26-
Vue.http.options.root = process.env.NODE_ENV === 'development' ? 'src/assets/data' : '/static/data'
26+
Vue.http.options.root = process.env.NODE_ENV === 'development' ? 'src/assets/data' : '/vue-sui-demo/static/data'
2727
Vue.http.options.emulateJSON = true
2828

2929
// Directive

0 commit comments

Comments
 (0)