Browse Source

修改文案

lex 1 year ago
parent
commit
9d898a0eae

+ 1 - 1
src/school/orchestra/compontent/photo-detail.tsx

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

+ 1 - 1
src/school/save-share-image/index.tsx

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

+ 1 - 1
src/school/train-report/month-report.tsx

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

+ 1 - 1
src/school/train-report/week-report.tsx

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

+ 4 - 8
src/views/coursewarePlay/component/tools/pen.tsx

@@ -60,7 +60,7 @@ export default defineComponent({
         }
       })
       if (res?.content?.status === 'success') {
-        showSuccessToast('保存成功')
+        showSuccessToast('已保存到相册')
       } else {
         showFailToast('保存失败')
       }
@@ -86,15 +86,14 @@ export default defineComponent({
           // const url = await canvas.toDataURL()
           try {
             imgs.image = canvas.toDataURL()
-            
           } catch (error) {
             console.log(error)
           }
-          console.log("🚀 ~ imgs.image:", imgs.image)
+          console.log('🚀 ~ imgs.image:', imgs.image)
           saveImg()
         })
         .catch((error) => {
-          console.log("🚀 ~ error:", error)
+          console.log('🚀 ~ error:', error)
           closeToast()
           imgs.saveLoading = false
           imgs.exported = false
@@ -122,10 +121,7 @@ export default defineComponent({
         {imgs.exported ? (
           <img crossorigin="anonymous" class={styles.img} src={imgs.base64} />
         ) : (
-          <div
-            class={styles.rightItem}
-            onClick={() => props.close()}
-          >
+          <div class={styles.rightItem} onClick={() => props.close()}>
             <svg width="22px" height="20px" viewBox="0 0 22 20">
               <path
                 transform="translate(-1.000000, -2.000000)"

+ 1 - 1
src/views/follow-account/index.tsx

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

+ 1 - 1
src/views/mine-orchestra/photo-list/detail.tsx

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