Skip to content

Commit

Permalink
Merge pull request alibaba#414 from alibaba/hotfix_413
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslcj authored Dec 7, 2018
2 parents 862c3a3 + 11fc672 commit 7916583
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion console/src/main/resources/static/console-fe/src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ request.middleWare((_config = {}) => {
* 配置 monaco
*/
window.require.config({
paths: { vs: 'js/vs' },
paths: { vs: process.env.NODE_ENV === 'production' ? 'console-fe/public/js/vs' : 'js/vs' },
});
window.require.config({
'vs/nls': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ class ServiceList extends React.Component {
}

openEditServiceDialog() {
this.editServiceDialog.current.show(this.state.service);
try {
this.editServiceDialog.current.getInstance().show(this.state.service);
} catch (error) {}
}

queryServiceList() {
Expand Down
2 changes: 1 addition & 1 deletion console/src/main/resources/static/js/main.js

Large diffs are not rendered by default.

0 comments on commit 7916583

Please sign in to comment.