hookehuyr

fix(feedBack): 将Toast.success替换为Taro.showToast以兼容小程序环境

1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-07-07 16:46:44 4 + * @LastEditTime: 2025-07-07 16:48:19
5 * @FilePath: /jgdl/src/pages/feedBack/index.vue 5 * @FilePath: /jgdl/src/pages/feedBack/index.vue
6 * @Description: 意见反馈页面 6 * @Description: 意见反馈页面
7 --> 7 -->
...@@ -228,7 +228,11 @@ const previewImage = (imageUrl) => { ...@@ -228,7 +228,11 @@ const previewImage = (imageUrl) => {
228 */ 228 */
229 const deleteImage = (index) => { 229 const deleteImage = (index) => {
230 uploadedImages.value.splice(index, 1) 230 uploadedImages.value.splice(index, 1)
231 - Toast.success('删除成功') 231 + Taro.showToast({
232 + title: '删除成功',
233 + icon: 'success',
234 + duration: 2000
235 + })
232 } 236 }
233 237
234 /** 238 /**
......