改特殊字符

szh_zidingyibiaoti
lilu 2 years ago
parent c58755f452
commit 1fe3bab7e5

@ -1313,7 +1313,19 @@ export default {
} }
}, },
getTextareaChange({ type, value }) { getTextareaChange({ type, value }) {
this.details[type] = value let val = ''
for (var i in value) {
let k = ''
if (value[i] === String.fromCharCode(160)) {
k = ' '
} else {
k = value[i]
}
val += k
}
console.log(val)
this.details[type] = val
document.getElementById('notifyparty-scroll').value = val
this.$forceUpdate() this.$forceUpdate()
}, },
inputChange({ type, value }) { inputChange({ type, value }) {

@ -733,7 +733,7 @@ export default {
this.formAllData = JSON.parse(JSON.stringify(initData.condAllData)) this.formAllData = JSON.parse(JSON.stringify(initData.condAllData))
this.fromTableAllData = JSON.parse(JSON.stringify(initData.columnsAllData)) this.fromTableAllData = JSON.parse(JSON.stringify(initData.columnsAllData))
this.tableHeight = document.body.clientHeight - 230 this.tableHeight = document.body.clientHeight - 230
// this.getList({}, true) this.getList({}, true)
this.getConfigUser(true) this.getConfigUser(true)
this.getCarrier() this.getCarrier()
}, },

Loading…
Cancel
Save