Skip to content

Commit

Permalink
refactor:非部署迁移传参由字符串转为 json
Browse files Browse the repository at this point in the history
  • Loading branch information
combineli committed Jun 21, 2019
1 parent 01f6095 commit 58179c6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion client/dist/dcache.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
if (isIE()) {
var body = document.querySelector('body');
body.innerHTML = '<div style="width:500px;margin:0 auto">系统不支持IE浏览器,建议您更换为chrome以获得更好的体验</div>';
}</script><script type=text/javascript src=/static/js/manifest.61e49.js></script><script type=text/javascript src=/static/js/vendor.fa803.js></script><script type=text/javascript src=/static/js/dcache.fee59.js></script></body></html>
}</script><script type=text/javascript src=/static/js/manifest.61e49.js></script><script type=text/javascript src=/static/js/vendor.fa803.js></script><script type=text/javascript src=/static/js/dcache.a3fa9.js></script></body></html>
8 changes: 8 additions & 0 deletions client/dist/static/js/dcache.a3fa9.js

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions client/dist/static/js/dcache.fee59.js

This file was deleted.

5 changes: 4 additions & 1 deletion client/src/dcache/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ export function transferDCacheGroup({ appName, moduleName, srcGroupName, dstGrou
return Axios({
method: 'post',
url: '/cache/transferDCacheGroup',
data: { appName, moduleName, srcGroupName, dstGroupName, transferData }
data: { appName, moduleName, srcGroupName, dstGroupName, transferData },
headers: {
'Content-Type': 'application/json'
}
})
}

Expand Down

0 comments on commit 58179c6

Please sign in to comment.