在您提交此问题之前,您是否检查了以下内容?
受影响的包和版本
0.13.0
复现链接
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import {
LocaleType,
mergeLocales,
Univer,
UniverInstanceType,
} from "@univerjs/core";
import DesignZhCN from "@univerjs/design/locale/zh-CN";
import { UniverDocsPlugin } from "@univerjs/docs";
import { UniverDocsUIPlugin } from "@univerjs/docs-ui";
import DocsUIZhCN from "@univerjs/docs-ui/locale/zh-CN";
import { UniverDrawingPlugin } from "@univerjs/drawing";
import { UniverFormulaEnginePlugin } from "@univerjs/engine-formula";
import { UniverRenderEnginePlugin } from "@univerjs/engine-render";
import { UniverSlidesPlugin } from "@univerjs/slides";
import { UniverSlidesUIPlugin } from "@univerjs/slides-ui";
import SlidesUIZhCN from "@univerjs/slides-ui/locale/zh-CN";
import { UniverUIPlugin } from "@univerjs/ui";
import UIZhCN from "@univerjs/ui/locale/zh-CN";
import { SLIDE_DATA } from "../slides-data";
import DrawingUIZhCN from "../locales/drawing-ui-zhCN";
import { UniverDrawingUIPlugin } from "@univerjs/drawing-ui";
@component({ name: "UniverSlides" })
export default class UniverSlides extends Vue {
private univerInstance: Univer | null = null;
mounted() {
const univer = new Univer({
locale: LocaleType.ZH_CN,
locales: {
[LocaleType.ZH_CN]: mergeLocales(
DesignZhCN,
UIZhCN,
DocsUIZhCN,
SlidesUIZhCN,
DrawingUIZhCN
),
},
});
// Drawing must be registered before Render
univer.registerPlugin(UniverDrawingPlugin);
univer.registerPlugin(UniverRenderEnginePlugin);
univer.registerPlugin(UniverFormulaEnginePlugin);
univer.registerPlugin(UniverUIPlugin, {
container: this.$refs.container as HTMLElement,
});
univer.registerPlugin(UniverDocsPlugin);
univer.registerPlugin(UniverDocsUIPlugin);
univer.registerPlugin(UniverDrawingUIPlugin);
univer.registerPlugin(UniverSlidesPlugin);
univer.registerPlugin(UniverSlidesUIPlugin);
univer.createUnit(UniverInstanceType.UNIVER_SLIDE, SLIDE_DATA);
this.univerInstance = univer;
}
beforeDestroy() {
if (this.univerInstance) {
this.univerInstance.dispose();
}
this.univerInstance = null;
}
}
</script>
<style scoped>
.univer-container {
width: 100%;
height: 100%;
}
</style>
预期行为
-
Rotation angle and click position are normal.
-
Double-clicking the text allows for editing.
-
The selection effect of the first slideshow is normal.
-
The image panel contains Chinese translations.
实际行为

1. Rotation angle is unclickable; position is offset.
-
Double-clicking makes the text disappear.
-
The selected effect of the first slideshow is not fully displayed.
-
The Chinese translation of the image panel is missing.
运行环境
Chrome
系统信息
No response
在您提交此问题之前,您是否检查了以下内容?
受影响的包和版本
0.13.0
复现链接
<script lang="ts"> import { Component, Vue } from "vue-property-decorator"; import { LocaleType, mergeLocales, Univer, UniverInstanceType, } from "@univerjs/core"; import DesignZhCN from "@univerjs/design/locale/zh-CN"; import { UniverDocsPlugin } from "@univerjs/docs"; import { UniverDocsUIPlugin } from "@univerjs/docs-ui"; import DocsUIZhCN from "@univerjs/docs-ui/locale/zh-CN"; import { UniverDrawingPlugin } from "@univerjs/drawing"; import { UniverFormulaEnginePlugin } from "@univerjs/engine-formula"; import { UniverRenderEnginePlugin } from "@univerjs/engine-render"; import { UniverSlidesPlugin } from "@univerjs/slides"; import { UniverSlidesUIPlugin } from "@univerjs/slides-ui"; import SlidesUIZhCN from "@univerjs/slides-ui/locale/zh-CN"; import { UniverUIPlugin } from "@univerjs/ui"; import UIZhCN from "@univerjs/ui/locale/zh-CN"; import { SLIDE_DATA } from "../slides-data"; import DrawingUIZhCN from "../locales/drawing-ui-zhCN"; import { UniverDrawingUIPlugin } from "@univerjs/drawing-ui"; @component({ name: "UniverSlides" }) export default class UniverSlides extends Vue { private univerInstance: Univer | null = null; mounted() { const univer = new Univer({ locale: LocaleType.ZH_CN, locales: { [LocaleType.ZH_CN]: mergeLocales( DesignZhCN, UIZhCN, DocsUIZhCN, SlidesUIZhCN, DrawingUIZhCN ), }, }); // Drawing must be registered before Render univer.registerPlugin(UniverDrawingPlugin); univer.registerPlugin(UniverRenderEnginePlugin); univer.registerPlugin(UniverFormulaEnginePlugin); univer.registerPlugin(UniverUIPlugin, { container: this.$refs.container as HTMLElement, }); univer.registerPlugin(UniverDocsPlugin); univer.registerPlugin(UniverDocsUIPlugin); univer.registerPlugin(UniverDrawingUIPlugin); univer.registerPlugin(UniverSlidesPlugin); univer.registerPlugin(UniverSlidesUIPlugin); univer.createUnit(UniverInstanceType.UNIVER_SLIDE, SLIDE_DATA); this.univerInstance = univer; } beforeDestroy() { if (this.univerInstance) { this.univerInstance.dispose(); } this.univerInstance = null; } } </script> <style scoped> .univer-container { width: 100%; height: 100%; } </style>预期行为
Rotation angle and click position are normal.
Double-clicking the text allows for editing.
The selection effect of the first slideshow is normal.
The image panel contains Chinese translations.
实际行为
Double-clicking makes the text disappear.
The selected effect of the first slideshow is not fully displayed.
The Chinese translation of the image panel is missing.
运行环境
Chrome
系统信息
No response