dev_forum
hjm 5 years ago
parent 3d23aca68c
commit 91c9227213

@ -81,8 +81,8 @@ class Cropper extends Component {
$.ajaxSetup({
cache: true
});
const isDev = isDev()
let _path = isDev ? 'public' : 'build'
const _isDev = isDev()
let _path = _isDev ? 'public' : 'build'
$('head').append($('<link rel="stylesheet" type="text/css" />')
.attr('href', `${_url_origin}/react/${_path}/js/cropper/cropper.min.css`));

@ -59,7 +59,7 @@ class ChangeHeaderPicModal extends Component{
if (visible) {
setTimeout(() => {
this.init()
}, 300)
}, 500)
}
}

Loading…
Cancel
Save