lex 1 год назад
Родитель
Сommit
0889b4f6f7

+ 1 - 1
src/components/m-image-preview/index.tsx

@@ -82,7 +82,7 @@ export default defineComponent({
           }
         });
         if (res?.content?.status === 'success') {
-          showSuccessToast('保存成功');
+          showSuccessToast('已保存到相册');
         } else {
           showFailToast('保存失败');
         }

+ 2 - 2
src/views/courseware-play/component/tools/pen.tsx

@@ -60,7 +60,7 @@ export default defineComponent({
         }
       })
       if (res?.content?.status === 'success') {
-        showSuccessToast('保存成功')
+        showSuccessToast('已保存到相册')
       } else {
         showFailToast('保存失败')
       }
@@ -86,7 +86,7 @@ export default defineComponent({
           // const url = await canvas.toDataURL()
           try {
             imgs.image = canvas.toDataURL()
-            
+
           } catch (error) {
             console.log(error)
           }