fix[preview]: 删除预览界面 toast

This commit is contained in:
Huangzhe
2025-03-21 14:05:48 +08:00
parent 5ebdeb32e2
commit d458ab072d

View File

@@ -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'
// });
}
};