|
|
@@ -152,6 +152,13 @@ const enterStudentView = () => {
|
|
|
// 通过路由跳转到学生模式
|
|
|
window.location.href = '/?mode=student'
|
|
|
}
|
|
|
+
|
|
|
+const setTitle = (newTitle: string) => {
|
|
|
+ titleValue.value = newTitle
|
|
|
+ slidesStore.setTitle(newTitle)
|
|
|
+}
|
|
|
+
|
|
|
+(window as any).setTitle = setTitle
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|