forked from Gitlink/forgeplus-react
style
This commit is contained in:
parent
4d613fd07f
commit
335e484167
|
@ -25,7 +25,7 @@ if (isDev) {
|
|||
}
|
||||
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
|
||||
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
|
||||
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || ''
|
||||
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
|
||||
}
|
||||
window._debugType = debugType;
|
||||
export function initAxiosInterceptors(props) {
|
||||
|
|
|
@ -573,6 +573,9 @@ a.issue-type-button.active:hover {
|
|||
.attachment-list-a {
|
||||
color: rgba(0, 0, 0, 0.65) !important;
|
||||
}
|
||||
.attachment-list-a>span{
|
||||
word-break: break-all;
|
||||
}
|
||||
.btp1 {
|
||||
border-top: 1px solid #f4f4f4;
|
||||
}
|
||||
|
|
|
@ -80,8 +80,9 @@ class Index extends Component {
|
|||
}
|
||||
|
||||
beforeUpload = (file) => {
|
||||
console.log(file);
|
||||
if(file && !file.type){
|
||||
this.props.showNotification(`不能上传文件夹!`);
|
||||
this.props.showNotification(`暂不支持此格式文件的上传!`);
|
||||
return;
|
||||
}
|
||||
const { size } = this.props;
|
||||
|
|
Loading…
Reference in New Issue