Merge branch 'feature/comment-0620-ch' into msb_test

fix/0701-ch
ch 2 years ago
commit 325bee7e80

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

Loading…
Cancel
Save