1
0

test term

This commit is contained in:
syui 2024-03-23 20:54:33 +09:00
parent 808386e7e0
commit 26695cd925
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -152,7 +152,7 @@
</div>
<div class="term" v-if="term_status == true">
<iframe src="https://yui.syui.ai/term" allowfullscreen frameborder="0"></iframe>
<iframe :src="'https://term.syui.ai?u=' + username" allowfullscreen frameborder="0"></iframe>
</div>
<!--
@ -934,6 +934,7 @@ export default {
card: null,
cards: null,
loc: window.location.pathname.split('/').slice(-1)[0],
username: null,
id: null,
model: null,
record: null,
@ -1018,6 +1019,7 @@ export default {
axios.get(url,{ crossdomain: true })
.then(response => {
this.record = response;
this.username = this.record.data.find((v) => v.username == loc).username;
this.id = this.record.data.find((v) => v.username == loc).id;
this.model = this.record.data.find((v) => v.username == loc).model;
this.did = this.record.data.find((v) => v.username == loc).did;