|
@@ -82,7 +82,7 @@ import "@/static/public.css";
|
|
|
this.buyCourse = buyCourse
|
|
this.buyCourse = buyCourse
|
|
|
this.identification = ident
|
|
this.identification = ident
|
|
|
this.sectionType = sectionType || 2
|
|
this.sectionType = sectionType || 2
|
|
|
- this.vid = vid
|
|
|
|
|
|
|
+ this.vid = vid || ''
|
|
|
this.sectionId = this.$route.query.sectionId;
|
|
this.sectionId = this.$route.query.sectionId;
|
|
|
this.goodsId = this.$route.query.goodsId;
|
|
this.goodsId = this.$route.query.goodsId;
|
|
|
this.courseId = this.$route.query.courseId;
|
|
this.courseId = this.$route.query.courseId;
|
|
@@ -248,6 +248,10 @@ import "@/static/public.css";
|
|
|
enableFlower: true, // 是否开启送花功能,默认为true
|
|
enableFlower: true, // 是否开启送花功能,默认为true
|
|
|
mediaChannelKey: this.mediaChannelKey,
|
|
mediaChannelKey: this.mediaChannelKey,
|
|
|
tabData: [
|
|
tabData: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "文档",
|
|
|
|
|
+ type: "ppt",
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
name: "聊天", // 菜单栏名称
|
|
name: "聊天", // 菜单栏名称
|
|
|
type: "chat", // 菜单栏类型, 有3个已有的内置类型(chat, user-list, ask),详情请参考文档
|
|
type: "chat", // 菜单栏类型, 有3个已有的内置类型(chat, user-list, ask),详情请参考文档
|
|
@@ -255,11 +259,7 @@ import "@/static/public.css";
|
|
|
{
|
|
{
|
|
|
name: "提问",
|
|
name: "提问",
|
|
|
type: "ask",
|
|
type: "ask",
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "文档",
|
|
|
|
|
- type: "ppt",
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ }
|
|
|
],
|
|
],
|
|
|
roomMessage: (data) => {
|
|
roomMessage: (data) => {
|
|
|
console.log(data,'data')
|
|
console.log(data,'data')
|