Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在vue3中将wangeditor封装为子组件 子组件在watch中获取不到新值 而onMounted可以获取到新值 #25

Open
FrontDeveloperApe opened this issue Dec 15, 2023 · 1 comment

Comments

@FrontDeveloperApe
Copy link

No description provided.

@FrontDeveloperApe
Copy link
Author

<Editor
:style="{ height: minHeight }"
style="overflow-y: hidden"
:class="readonly ? 'wang_editor' : ''"
v-model="valueHtml"
:defaultConfig="editorConfig"
:mode="mode"
@onCreated="handleCreated"
@customUpload="onCustomUpload"
@OnBlur="handleBlur"
ref="wangeditorRef"
/>
valueHtml 在源码中获取不到值

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant