|
@@ -95,7 +95,7 @@ const slideThumbnailModelVisible = ref(false)
|
|
|
const laserPen = ref(false)
|
|
|
|
|
|
const contextmenus = (): ContextmenuItem[] => {
|
|
|
- return [
|
|
|
+ const menusData: any[] = [
|
|
|
{
|
|
|
text: "上一页",
|
|
|
subText: "↑ ←",
|
|
@@ -167,13 +167,16 @@ const contextmenus = (): ContextmenuItem[] => {
|
|
|
text: "演讲者视图",
|
|
|
handler: () => props.changeViewMode("presenter")
|
|
|
},
|
|
|
- { divider: true },
|
|
|
- {
|
|
|
+ { divider: true }
|
|
|
+ ]
|
|
|
+ if (screenStore.mode === "pptEditor") {
|
|
|
+ menusData.push({
|
|
|
text: "结束放映",
|
|
|
subText: "ESC",
|
|
|
handler: exitScreening
|
|
|
- }
|
|
|
- ]
|
|
|
+ })
|
|
|
+ }
|
|
|
+ return menusData
|
|
|
}
|
|
|
</script>
|
|
|
|