fix[preview]: 删除预览界面 toast
This commit is contained in:
@@ -30,23 +30,23 @@ import { showToast } from 'vant';
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
error: (rest) => {
|
error: (/*rest*/) => {
|
||||||
showToast({
|
// showToast({
|
||||||
// message: rest
|
// // message: rest
|
||||||
message: rest.split(':')[1],
|
// message: rest.split(':')[1],
|
||||||
position: 'bottom'
|
// position: 'bottom'
|
||||||
});
|
// });
|
||||||
},
|
},
|
||||||
warn: (rest) => {
|
warn: (/*rest*/) => {
|
||||||
showToast({
|
// showToast({
|
||||||
message: rest.split(':')[1],
|
// message: rest.split(':')[1],
|
||||||
position: 'bottom'
|
// position: 'bottom'
|
||||||
});
|
// });
|
||||||
},
|
},
|
||||||
success: (rest) => {
|
success: (/*rest*/) => {
|
||||||
showToast({
|
// showToast({
|
||||||
message: rest.split(':')[1],
|
// message: rest.split(':')[1],
|
||||||
position: 'bottom'
|
// position: 'bottom'
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user