This commit is contained in:
xiongchengqiang 2020-12-08 14:23:44 +08:00
parent a945cb5044
commit 3a19b51df1
2 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ export default {
return Math.round((weight * 100) * 1000) / 1000
},
async handleSaveDetail (params = this.obj) {
let res = await apiSaveDetail(params)
let res = await apiSaveDetail(Object.assign({}, params, { save: 1 }))
if (res.code !== 200) {
this.$message.error(res.msg)
return

View File

@ -107,7 +107,7 @@
<div class="comment"
v-if="i.comment">
<pre>{{i.isShow?i.comment:(i.comment.substring(0,12)+'...')}}</pre>
<div style="width:40px;flex-shrink:0;"
<div style="width:40px;flex-shrink:0; cursor: pointer;"
@click="handleShow(i)">{{!!i.isShow?'收起':'展开'}}</div>
</div>
</div>