You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
const options = ref({
lang: 'zh-CN',
theme: 'light',
mode: ['pdf'],
title: "测试数据",
meta: [],
showHeader: true,//是否显示顶部导航栏。
showAside: true,//是否显示左侧边栏。
editable: false,//是否可编辑
printable: true,//是否可打印
downloadable: true,//是否可下载
closeable: false,//是否显示关闭按钮
shareUrl: undefined,//文档分享 URL,默认值为 undefined,如果未配置该项,则不会显示分享按钮。
html: "",
pdf: "https://s1.umodoc.com/files/umo-editor-cn.pdf",
showMultiPage: false,
fitWidth: false,//是否自动调整文档宽度。
needPassword: false, // 是否需要输入密码才能访问文档,默认值为 false。如果配置为 true,则需要配置 onValidatePassword 事件。
});
</script>
我这样写,页面空白,浏览器警告Component is missing template or render function,很无语,不知道什么原因,NODE版本20.9.0 vue:3.5.13,chrome140.0.0.0,我使用Umo Editor页面可以正常显示出来
Beta Was this translation helpful? Give feedback.
All reactions