fix: Fix pass props from layout

1. Fix pass props from layout
2. Fix space to tab in Makefile

Change-Id: I6de5a95360b2cbe4ad35162a6f83decd2ba506c1
This commit is contained in:
Jingwei.Zhang 2021-08-24 11:30:09 +08:00
parent 42a5e8331d
commit ae3b0fa579
11 changed files with 11 additions and 11 deletions

View File

@ -94,4 +94,4 @@ test:
.PHONY: clean
clean:
rm -rf .venv node_modules dist
rm -rf .venv node_modules dist

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;

View File

@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
import routes from './routes';
const App = () => renderRoutes(routes);
const App = (props) => renderRoutes(routes, props);
export default App;