-
![]()
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+
diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts
index 44ce19f..e8e0829 100644
--- a/src/locales/zh-CN.ts
+++ b/src/locales/zh-CN.ts
@@ -82,7 +82,7 @@ export default {
sizeIcon: '尺寸图标',
localeIcon: '多语言图标',
tagsView: '标签页',
- logo: '标志',
+ logo: 'Logo',
greyMode: '灰色模式',
fixedHeader: '固定头部',
headerTheme: '头部主题',
diff --git a/src/views/Components/ImageCropping.vue b/src/views/Components/ImageCropping.vue
index 3c844b0..9e69952 100644
--- a/src/views/Components/ImageCropping.vue
+++ b/src/views/Components/ImageCropping.vue
@@ -2,14 +2,22 @@
import { ContentWrap } from '@/components/ContentWrap'
import { ImageCropping } from '@/components/ImageCropping'
import { ref, unref } from 'vue'
-import { ElInput } from 'element-plus'
+import { ElInput, ElDivider } from 'element-plus'
const cropperExpose = ref
>()
const base64 = ref('')
const getBase64 = () => {
- base64.value = unref(cropperExpose)?.cropperExpose()?.getCroppedCanvas()?.toDataURL() ?? ''
+ base64.value = unref(cropperExpose)?.cropperExpose?.getCroppedCanvas()?.toDataURL() ?? ''
+}
+
+const cropperExpose2 = ref>()
+
+const base642 = ref('')
+
+const getBase642 = () => {
+ base642.value = unref(cropperExpose)?.cropperExpose?.getCroppedCanvas()?.toDataURL() ?? ''
}
@@ -21,5 +29,15 @@ const getBase64 = () => {
ref="cropperExpose"
image-url="https://hips.hearstapps.com/hmg-prod/images/%E5%AE%8B%E6%99%BA%E5%AD%9D-1597774015.jpg?crop=0.500xw:1.00xh;0.500xw,0&resize=640:*"
/>
+
+ 裁剪
+
+