优化
This commit is contained in:
parent
a945cb5044
commit
3a19b51df1
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user