quick fix

This commit is contained in:
Natsumi
2021-02-07 00:20:49 +13:00
parent e0f354d513
commit bebff062ae
2 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -8323,10 +8323,10 @@ speechSynthesis.getVoices();
}).then((args) => { }).then((args) => {
if (args.json[slot].message !== D.newMessage) { if (args.json[slot].message !== D.newMessage) {
this.$message({ this.$message({
message: 'VRC API didn\'t update message, try again', message: 'VRChat API didn\'t update message, try again',
type: 'error' type: 'error'
}); });
throw 'VRC API didn\'t update message, try again'; throw 'VRChat API didn\'t update message, try again';
} }
}); });
} }
@@ -8360,7 +8360,8 @@ speechSynthesis.getVoices();
$app.data.sendInviteResponseDialog = { $app.data.sendInviteResponseDialog = {
message: '', message: '',
invite: '' invite: '',
messageSlot: ''
}; };
$app.data.sendInviteResponseDialogVisible = false; $app.data.sendInviteResponseDialogVisible = false;
+2 -2
View File
@@ -1476,8 +1476,8 @@ html
span 1 hour edit cool down time. span 1 hour edit cool down time.
el-input(type="textarea" v-model="editInviteMessageDialog.newMessage" size="mini" maxlength="64" show-word-limit :autosize="{ minRows:2, maxRows:5 }" placeholder="" style="margin-top:10px") el-input(type="textarea" v-model="editInviteMessageDialog.newMessage" size="mini" maxlength="64" show-word-limit :autosize="{ minRows:2, maxRows:5 }" placeholder="" style="margin-top:10px")
template(#footer) template(#footer)
el-button(type="small" @click="cancelEditInviteMessage") Cancel el-button(type="small" @click="cancelEditInviteMessage") Cancel
el-button(type="primary" size="small" @click="saveEditInviteMessage") Save el-button(type="primary" size="small" @click="saveEditInviteMessage") Save
//- dialog: Edit And Send Invite Response Message //- dialog: Edit And Send Invite Response Message
el-dialog.x-dialog(ref="editAndSendInviteResponseDialog" :visible.sync="editAndSendInviteResponseDialog.visible" title="Edit and Send Invite Message" width="400px") el-dialog.x-dialog(ref="editAndSendInviteResponseDialog" :visible.sync="editAndSendInviteResponseDialog.visible" title="Edit and Send Invite Message" width="400px")