|
|
@ -387,6 +387,11 @@ class MemoNew extends Component {
|
|
|
|
// repertoires: [],
|
|
|
|
// repertoires: [],
|
|
|
|
// currentSelectRepertoiresIndex: -1,
|
|
|
|
// currentSelectRepertoiresIndex: -1,
|
|
|
|
}, ()=> {
|
|
|
|
}, ()=> {
|
|
|
|
|
|
|
|
// 解决有时候编辑时内容不显示的问题
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
|
|
|
this.mdRef.current && this.mdRef.current.setValue(content || '')
|
|
|
|
|
|
|
|
}, 2000)
|
|
|
|
|
|
|
|
|
|
|
|
$('.upload_filename').each((index, item) => {
|
|
|
|
$('.upload_filename').each((index, item) => {
|
|
|
|
var width = window._textWidth($(item), '14px');
|
|
|
|
var width = window._textWidth($(item), '14px');
|
|
|
|
console.log(width)
|
|
|
|
console.log(width)
|
|
|
|