|
|
|
@ -18,6 +18,7 @@ import 'antd/lib/select/style/index.css'
|
|
|
|
|
import TPMMDEditor from '../tpm/challengesnew/TPMMDEditor'
|
|
|
|
|
|
|
|
|
|
import { getUrl, getUploadActionUrl, appendFileSizeToUploadFileAll, appendFileSizeToUploadFile } from 'educoder'
|
|
|
|
|
import CaseDetail from "../moop_cases/CaseDetail";
|
|
|
|
|
const Option = Select.Option;
|
|
|
|
|
const $ = window.$;
|
|
|
|
|
|
|
|
|
@ -316,7 +317,8 @@ class MemoNew extends Component {
|
|
|
|
|
const repertoires = [];
|
|
|
|
|
const repertoiresTagMap = {}
|
|
|
|
|
if ( data.tag_list ) {
|
|
|
|
|
// data.tag_list.forEach((item, index)=>{
|
|
|
|
|
document.title = "交流问答";
|
|
|
|
|
// data.tag_list.forEach((item, index)=>{
|
|
|
|
|
// const tagArray = [];
|
|
|
|
|
// item.tag.forEach( (tag, index) => {
|
|
|
|
|
// tagArray.push(tag.name)
|
|
|
|
@ -362,6 +364,8 @@ class MemoNew extends Component {
|
|
|
|
|
const tag_list = response.data.tag_list
|
|
|
|
|
if (tag_list) {
|
|
|
|
|
// this.setState({...response.data})
|
|
|
|
|
|
|
|
|
|
document.title = response.data.subject;
|
|
|
|
|
const { content, forum_id, id, repertoire_name, subject,
|
|
|
|
|
current_user, tag_list, attachments_url, memo_tags, attachments } = response.data;
|
|
|
|
|
this.initMD(content);
|
|
|
|
|