更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

-8
View File
@@ -1,6 +1,5 @@
<template>
<view class="note-editor-wrapper">
<!-- 通用富文本工具栏(H5 与 Android/iOS App 手机端均完整支持) -->
<view class="editor-toolbar">
<view class="toolbar-group">
<view class="tb-btn" title="加粗" @tap="handleFormat('bold')">
@@ -48,7 +47,6 @@
</view>
</view>
<!-- 表格操作组(全端支持插入与行列增删) -->
<view class="toolbar-divider" />
<view class="toolbar-group">
<view class="tb-btn" title="插入表格" @tap="onInsertTable">
@@ -97,7 +95,6 @@
</view>
</view>
<!-- 编辑区(H5 与 App-plus 均使用真正的 HTML5 Webview DOM 渲染与编辑表格) -->
<!-- #ifdef H5 -->
<div
ref="h5EditorRef"
@@ -157,7 +154,6 @@ const isInternalUpdate = ref(false)
const lastAppliedHtml = ref('')
const renderAction = ref(null)
// 响应 RenderJS 传递上来的内容更新
function onContentChange(html) {
lastAppliedHtml.value = html
isInternalUpdate.value = true
@@ -167,7 +163,6 @@ function onContentChange(html) {
})
}
// 供 template 绑定的 Renderjs 桥接方法
function onRenderChange(html) {
onContentChange(html)
}
@@ -224,7 +219,6 @@ function onInsertTable() {
})
}
// ================= H5 专属 DOM 操作 =================
function execH5Format(cmd, value = null) {
const el = h5EditorRef.value
if (!el) return
@@ -359,7 +353,6 @@ onMounted(() => {
// #endif
})
// 将 onRenderChange 挂载到组件实例供 Renderjs 调用
defineExpose({
onRenderChange
})
@@ -608,7 +601,6 @@ export default {
<style lang="scss">
@import '@/src/styles/rich-content.scss';
/* 小程序端用 class 选择器,避免标签选择器兼容性警告 */
.note-rich-editor-table {
display: table !important;
border-collapse: collapse !important;