|
@@ -69,11 +69,12 @@ export default defineComponent({
|
|
|
try {
|
|
|
Dialog.confirm({
|
|
|
title: '提示',
|
|
|
- message: '确定删除该粉丝吗?',
|
|
|
- confirmButtonColor: 'var(--van-primary)'
|
|
|
+ message: '确定移除该粉丝吗?',
|
|
|
+ confirmButtonColor: 'var(--van-primary)',
|
|
|
+ confirmButtonText: "确定"
|
|
|
}).then(async () => {
|
|
|
await request.post('/api-teacher/teacher/delFans/' + item.userId)
|
|
|
- Toast('删除成功')
|
|
|
+ Toast('移除成功')
|
|
|
|
|
|
this.params.page = 1;
|
|
|
this.list = []
|
|
@@ -122,9 +123,9 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</div>
|
|
|
),
|
|
|
- value: () => <div class={styles.btnGroup}>
|
|
|
+ value: () =>
|
|
|
<span class={styles.removeBtn} onClick={() => this.onRemove(item)}>移除</span>
|
|
|
- </div>
|
|
|
+
|
|
|
}}
|
|
|
/>
|
|
|
)
|