Commit 3d6fa891 authored by “lixuyan”'s avatar “lixuyan”

修改内容为空的问题

parent 41580624
...@@ -991,6 +991,7 @@ export default { ...@@ -991,6 +991,7 @@ export default {
formatHTML(statusCode, html) { formatHTML(statusCode, html) {
if (statusCode === 'Not') { if (statusCode === 'Not') {
// 扫码录入 // 扫码录入
if (html) {
return ( return (
html html
.replaceAll( .replaceAll(
...@@ -1008,7 +1009,9 @@ export default { ...@@ -1008,7 +1009,9 @@ export default {
"<input type='datetime-local' placeholder='请填写日期'>" "<input type='datetime-local' placeholder='请填写日期'>"
) )
) )
}
} else { } else {
if (html) {
return ( return (
html html
.replaceAll( .replaceAll(
...@@ -1030,6 +1033,7 @@ export default { ...@@ -1030,6 +1033,7 @@ export default {
.replaceAll('<textarea', '<textarea disabled ') .replaceAll('<textarea', '<textarea disabled ')
) )
} }
}
}, },
/** /**
* 开工 * 开工
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment