Explorar o código

终止后刷新页面

kyoyue hai 5 meses
pai
achega
9a270e2e79
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/wechat/batch_msg/index.vue

+ 2 - 1
src/views/wechat/batch_msg/index.vue

@@ -139,6 +139,7 @@ async function handleSendStop(record: Recordable) {
   let res = await stopBatchMsg({ id: record.id })
   if (res.code === 0) { 
     message.success('中止成功');
+    await reload();
   }
 }
 //预览
@@ -163,7 +164,7 @@ function getActions(record: Recordable) {
       // },
       {
         onClick: handleSendStop.bind(null, record),
-        label: '发送中止',
+        label: '止',
       },
       {
         onClick: handlePreview.bind(null, record),