diff --git a/src/common/pages/Register/registerStyle.js b/src/common/pages/Register/registerStyle.js index 24f9058..ba9b023 100644 --- a/src/common/pages/Register/registerStyle.js +++ b/src/common/pages/Register/registerStyle.js @@ -33,4 +33,4 @@ export const styles = theme => ({ background : yellow['500'], padding : 20 } -}); \ No newline at end of file +}); diff --git a/src/common/pages/RegisterNew/index.js b/src/common/pages/RegisterNew/index.js index 79a8d4a..9c6c746 100644 --- a/src/common/pages/RegisterNew/index.js +++ b/src/common/pages/RegisterNew/index.js @@ -219,7 +219,7 @@ class RegisterPage extends React.Component { return this.http.upload(file) .then(res => { this.setState({ - [`upload_${key}`]: res.path + [`upload_${key}`]: appConfig.apiUrl + res.path.slice(1,res.path.length) }); return res; }) @@ -278,7 +278,9 @@ class RegisterPage extends React.Component { - + @@ -522,10 +524,9 @@ class RegisterPage extends React.Component {
diff --git a/src/common/pages/RegisterNew/styles.js b/src/common/pages/RegisterNew/styles.js index 88b6b1d..7f6ce1b 100644 --- a/src/common/pages/RegisterNew/styles.js +++ b/src/common/pages/RegisterNew/styles.js @@ -10,7 +10,8 @@ export const styles = theme => ({ }, gridContainer : { flex :1, - justifyContent:'center' + justifyContent: 'center', + flexDirection: 'column' }, registerContainer: { marginTop : 50 @@ -34,4 +35,4 @@ export const styles = theme => ({ background : yellow['500'], padding : 20 }, -}); \ No newline at end of file +});