|  |  |  | 
|---|
|  |  |  | :key="item.aaa" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <div class="dev-text"> | 
|---|
|  |  |  | {{ index + 1 }}、<span>{{ item.questionText }}</span> | 
|---|
|  |  |  | {{ index + 1 }}、<span>{{ item.scriptContent }}</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <div class="dev-xx" v-if="item.valueType == 1"> | 
|---|
|  |  |  | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | // 发起ws请求 | 
|---|
|  |  |  | sendWebsocket( | 
|---|
|  |  |  | "ws://localhost:8089/chat?userId=1", | 
|---|
|  |  |  | "ws://localhost:8095/chat?userId=1", | 
|---|
|  |  |  | obj, | 
|---|
|  |  |  | this.wsMessage, | 
|---|
|  |  |  | this.wsError | 
|---|
|  |  |  | 
|---|
|  |  |  | value: dataJson.jsy, | 
|---|
|  |  |  | isEat: 1, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } else if (dataJson.nowQuestion.questionText) { | 
|---|
|  |  |  | } else if (dataJson.nowQuestion.scriptContent) { | 
|---|
|  |  |  | this.Answerline.push({ | 
|---|
|  |  |  | value: dataJson.nowQuestion.questionText, | 
|---|
|  |  |  | value: dataJson.nowQuestion.scriptContent, | 
|---|
|  |  |  | isEat: 1, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | console.log(obj, "入参"); | 
|---|
|  |  |  | // 发起ws请求 | 
|---|
|  |  |  | sendWebsocket( | 
|---|
|  |  |  | "ws://localhost:8089/chat?userId=1", | 
|---|
|  |  |  | "ws://localhost:8095/chat?userId=1", | 
|---|
|  |  |  | obj, | 
|---|
|  |  |  | this.wsMessage, | 
|---|
|  |  |  | this.wsError | 
|---|