fix[preview]: 删除预览界面 toast
This commit is contained in:
@@ -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'
|
||||
// });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user