新增注册码、草稿箱、权限拦截邮件、发件菜单隐藏

This commit is contained in:
eoao
2025-07-15 20:09:56 +08:00
parent 7e5a383bc6
commit 254325431b
55 changed files with 1819 additions and 361 deletions

View File

@@ -6,12 +6,13 @@
</template>
<script setup>
import {ref, onMounted, onBeforeUnmount, watch, nextTick} from 'vue';
import {ref, onMounted, onBeforeUnmount, watch, nextTick, shallowRef, defineEmits} from 'vue';
import loading from "@/components/loading/index.vue";
import {compressImage} from "@/utils/file-utils.js";
defineExpose({
clearEditor,
focus
focus,
getContent
})
const props = defineProps({
@@ -27,7 +28,7 @@ const props = defineProps({
const emit = defineEmits(['change']);
const editor = ref(null);
const editor = shallowRef(null);
const isInitialized = ref(false);
const editorRef = ref(null);
const showLoading = ref(false);
@@ -162,6 +163,10 @@ function focus() {
})
}
function getContent() {
return editor.value.getContent()
}
function destroyEditor() {
if (editor.value) {