Skip to content

Commit

Permalink
resolve conflict alibaba#281
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslcj committed Nov 15, 2018
1 parent 2f8db47 commit 2d36cae
Show file tree
Hide file tree
Showing 84 changed files with 250,862 additions and 13,069 deletions.
5 changes: 4 additions & 1 deletion console/src/main/resources/static/console-fe/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
node_modules
*.svg
*.ejs
.DS_Store
build
node_modules
4 changes: 3 additions & 1 deletion console/src/main/resources/static/console-fe/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.svg
*.ejs
.DS_Store
.DS_Store
build
node_modules
1 change: 1 addition & 0 deletions console/src/main/resources/static/console-fe/build.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#! /usr/bin/env node
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,7 @@ export default class MainLayout extends React.Component {
const language = aliwareGetCookieByKeyName('docsite_language') || siteConfig.defaultLanguage;

const { headerType, showLink, navRow, leftBarClose, noChild } = this.state;
const headerLogo = `${
process.env.NODE_ENV === 'development' ? '' : 'public/'
}img/TB118jPv_mWBKNjSZFBXXXxUFXa-2000-390.svg`;
const headerLogo = 'img/TB118jPv_mWBKNjSZFBXXXxUFXa-2000-390.svg';
return (
<div className="viewFramework-product" style={{ top: 66 }}>
<Header
Expand Down
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 @@ -99,7 +99,7 @@ request.middleWare((_config = {}) => {
* 配置 monaco
*/
window.require.config({
paths: { vs: process.env.NODE_ENV === 'development' ? 'js/vs' : 'public/js/vs' },
paths: { vs: 'js/vs' },
});
window.require.config({
'vs/nls': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class ListeningToQuery extends React.Component {
}
self.setState({
dataSource: dataSoureTmp || [],
total: data.length,
total: dataSoureTmp.length || 0,
});
}
},
Expand Down
Loading

0 comments on commit 2d36cae

Please sign in to comment.