From d458ab072da4becaa7520a0fd9fa1bafd8c822f9 Mon Sep 17 00:00:00 2001 From: Huangzhe Date: Fri, 21 Mar 2025 14:05:48 +0800 Subject: [PATCH] =?UTF-8?q?fix[preview]:=20=E5=88=A0=E9=99=A4=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E7=95=8C=E9=9D=A2=20toast?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Survey/views/Preview/js/message.js | 32 ++++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/views/Survey/views/Preview/js/message.js b/src/views/Survey/views/Preview/js/message.js index 0a3a0db..bb4f28a 100644 --- a/src/views/Survey/views/Preview/js/message.js +++ b/src/views/Survey/views/Preview/js/message.js @@ -30,23 +30,23 @@ import { showToast } from 'vant'; // } export default { - error: (rest) => { - showToast({ - // message: rest - message: rest.split(':')[1], - position: 'bottom' - }); + error: (/*rest*/) => { + // showToast({ + // // message: rest + // message: rest.split(':')[1], + // position: 'bottom' + // }); }, - warn: (rest) => { - showToast({ - message: rest.split(':')[1], - position: 'bottom' - }); + warn: (/*rest*/) => { + // showToast({ + // message: rest.split(':')[1], + // position: 'bottom' + // }); }, - success: (rest) => { - showToast({ - message: rest.split(':')[1], - position: 'bottom' - }); + success: (/*rest*/) => { + // showToast({ + // message: rest.split(':')[1], + // position: 'bottom' + // }); } };