|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-06-20 14:55:54
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-06-30 20:32:18
|
|
|
|
|
* @LastEditTime: 2022-06-30 20:40:46
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
@ -121,7 +121,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
submitComment(result, idx){
|
|
|
|
|
this.$set(this.list, idx, {...this.list[idx],...result});
|
|
|
|
|
if(this.list.findIndex(i => !i.id) > 0){
|
|
|
|
|
if(this.list.findIndex(i => !i.id) > -1){
|
|
|
|
|
uni.$u.toast('评论成功~');
|
|
|
|
|
}else{
|
|
|
|
|
this.$Router.replace('/commentSuccess');
|
|
|
|
|