test term
This commit is contained in:
parent
808386e7e0
commit
26695cd925
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user