commit
7916583541
@ -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': {
|
||||
|
@ -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() {
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user