Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
table 组件:文档,修复远程数据访问
Browse files Browse the repository at this point in the history
  • Loading branch information
xxapp committed Jul 17, 2017
1 parent 5916008 commit 7b405db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ms-table/ms-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const vm1 = avalon.define({
},
fetch(params = {}) {
vm1.loading = true;
$.getJSON('/api/demo', params).then(data => {
$.getJSON('http://easy-mock.com/mock/58ff1b7c5e43ae5dbea5eff3/api/demo', params).then(data => {
vm1.pagination.total = data.total;
data.rows[0].region_parent_id = Date.now();
vm1.remoteList = data.rows;
Expand Down

0 comments on commit 7b405db

Please sign in to comment.