提交 6d0e68e3 authored 作者: pengxiaohui's avatar pengxiaohui

修复产品分析输入框删除字符强制刷新的问题

上级 2f1e7668
......@@ -90,18 +90,18 @@ export default {
this.data = caseStorageData
// console.log('casee', this.data)
this.formData.production_detail = caseStorageData.production_detail.map(item => {
item.content = ''
this.$set(item, 'content', '')
if (item.show_answer) item.content = item.show_answer
return item
})
if (this.formData.production_detail.length > 0) this.tabBtnText.push('产品概括')
this.formData.fund_detail = caseStorageData.fund_detail.map(item => {
item.content = ''
this.$set(item, 'content', '')
return item
})
if (this.formData.fund_detail.length > 0) this.tabBtnText.push('基金投资与净值表现')
this.formData.invest_detail = caseStorageData.invest_detail.map(item => {
item.content = ''
this.$set(item, 'content', '')
return item
})
if (this.formData.invest_detail.length > 0) this.tabBtnText.push('投资本基金涉及的费用')
......@@ -111,13 +111,13 @@ export default {
setTimeout(() => {
this.countDomHeight()
}, 1000)
const _this = this
$(document).keyup(function(event) {
_this.$forceUpdate()
})
$(document).keydown(function(event) {
_this.$forceUpdate()
})
// const _this = this
// $(document).keyup(function(event) {
// _this.$forceUpdate()
// })
// $(document).keydown(function(event) {
// _this.$forceUpdate()
// })
document.querySelector('#emb').addEventListener('load', () => {
this.showFullscreenBtn = true
}, false)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论