test term
This commit is contained in:
parent
808386e7e0
commit
26695cd925
@ -152,7 +152,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="term" v-if="term_status == true">
|
<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>
|
</div>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@ -934,6 +934,7 @@ export default {
|
|||||||
card: null,
|
card: null,
|
||||||
cards: null,
|
cards: null,
|
||||||
loc: window.location.pathname.split('/').slice(-1)[0],
|
loc: window.location.pathname.split('/').slice(-1)[0],
|
||||||
|
username: null,
|
||||||
id: null,
|
id: null,
|
||||||
model: null,
|
model: null,
|
||||||
record: null,
|
record: null,
|
||||||
@ -1018,6 +1019,7 @@ export default {
|
|||||||
axios.get(url,{ crossdomain: true })
|
axios.get(url,{ crossdomain: true })
|
||||||
.then(response => {
|
.then(response => {
|
||||||
this.record = 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.id = this.record.data.find((v) => v.username == loc).id;
|
||||||
this.model = this.record.data.find((v) => v.username == loc).model;
|
this.model = this.record.data.find((v) => v.username == loc).model;
|
||||||
this.did = this.record.data.find((v) => v.username == loc).did;
|
this.did = this.record.data.find((v) => v.username == loc).did;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user