Open bozch opened 3 years ago
试着修改了下 front-end/src/components/core/editor/modals/preview.vue:
import { mapActions, mapState } from 'vuex'
...
...mapState('editor', {
editingWork: state => state.work
}),
...
<div class="info">
<h4 class="label">设置作品信息</h4>
<a-input
class="input"
value={this.editingWork.title}
onChange={e => this.updateWork({ title: e.target.value })}
// onBlur={this.saveTitle}
placeholder="请输入标题"
></a-input>
<a-input
class="input"
value={this.editingWork.description}
onChange={e => this.updateWork({ description: e.target.value })}
// v-model="description"
// onBlur={this.saveDescription}
placeholder="请输入描述"
type="textarea"
></a-input>
</div>
不知道这样是否完善,还请多多指教。
我看下 @bozch
问题描述 预览时标题和描述无法修改;现象是键盘输入的内容无法录入到输入框中。
环境描述/版本信息
如何复现 复现步骤
预期结果 当然是想能够编辑喽!
其它补充内容 任何和这个问题有关的额外内容