|
@@ -35,7 +35,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view v-if="true" style="display: flex; flex-direction: column; width: 40px; margin-left: 18px; align-items: center;"
|
|
|
+ <view v-if="recvMsgQueue[index].has_chonghua" style="display: flex; flex-direction: column; width: 40px; margin-left: 18px; align-items: center;"
|
|
|
@click="clickonredraw">
|
|
|
<view style="width: 15px; height: 15px;">
|
|
|
<image style="width: 100%; height: 100%;" src="../../static/img_redraw.png" mode="aspectFit"></image>
|
|
@@ -641,7 +641,8 @@
|
|
|
clearTimeout(self.startUpdateView)
|
|
|
},
|
|
|
sendSocketMessage(msg,prompt=msg,des_img='',action='generate',image_id='') {
|
|
|
- console.log("sendSocketMessage send",des_img)
|
|
|
+ // console.log("sendSocketMessage send",des_img)
|
|
|
+ // console.log('msg=',msg, 'prompt=',prompt, 'des_img=',des_img, 'action=',action, 'image_id=',image_id)
|
|
|
let self = this;
|
|
|
let isRelax = self.is_open_relax;
|
|
|
let token = isRelax?"7d995cf958f54d2c9c3264e645a9c4d9":"bdb957b8003e4a46b6b26a7174be5789";
|
|
@@ -656,7 +657,6 @@
|
|
|
// self.recvMsgQueue[self.recvMsgQueue.length-1].actions=['upsample1', 'upsample2', 'upsample3', 'upsample4', 'variation1', 'variation2', 'variation3', 'variation4']
|
|
|
self.initAni();
|
|
|
|
|
|
- console.log('msg=',msg, 'prompt=',prompt, 'des_img=',des_img, 'action=',action, 'image_id=',image_id)
|
|
|
if(action.includes(this.action_type.generate)) {
|
|
|
self.current_send.msg = msg
|
|
|
self.current_send.image_url = des_img
|