mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-27 18:53:47 +02:00
Location bug fixes
This commit is contained in:
@@ -785,6 +785,7 @@ speechSynthesis.getVoices();
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
parse() {
|
parse() {
|
||||||
|
this.text = this.location;
|
||||||
var L = API.parseLocation(this.location);
|
var L = API.parseLocation(this.location);
|
||||||
if (L.isOffline) {
|
if (L.isOffline) {
|
||||||
this.text = 'Offline';
|
this.text = 'Offline';
|
||||||
@@ -6027,7 +6028,8 @@ speechSynthesis.getVoices();
|
|||||||
if ((props.location) &&
|
if ((props.location) &&
|
||||||
(props.location[0] !== 'offline') &&
|
(props.location[0] !== 'offline') &&
|
||||||
(props.location[0] !== '') &&
|
(props.location[0] !== '') &&
|
||||||
((props.location[1] !== 'offline') && (props.location[0] !== 'private'))) {
|
(props.location[1] !== 'offline') &&
|
||||||
|
(props.location[1] !== '')) {
|
||||||
$app.addFeed('GPS', ref, {
|
$app.addFeed('GPS', ref, {
|
||||||
location: [
|
location: [
|
||||||
props.location[0],
|
props.location[0],
|
||||||
|
|||||||
@@ -87,11 +87,10 @@ html
|
|||||||
template(v-once #default="scope")
|
template(v-once #default="scope")
|
||||||
div(style="position:relative;font-size:14px")
|
div(style="position:relative;font-size:14px")
|
||||||
template(v-if="scope.row.type === 'GPS'")
|
template(v-if="scope.row.type === 'GPS'")
|
||||||
template(v-if="scope.row.location[1]")
|
location(v-if="scope.row.location[1]" :location="scope.row.location[1]")
|
||||||
location(:location="scope.row.location[1]")
|
el-tag(type="info" effect="plain" size="mini" style="margin-left:5px") {{ scope.row.time | timeToText }}
|
||||||
el-tag(type="info" effect="plain" size="mini" style="margin-left:5px") {{ scope.row.time | timeToText }}
|
br
|
||||||
br
|
span
|
||||||
span
|
|
||||||
i.el-icon-right
|
i.el-icon-right
|
||||||
location(v-if="scope.row.location[0]" :location="scope.row.location[0]")
|
location(v-if="scope.row.location[0]" :location="scope.row.location[0]")
|
||||||
template(v-else-if="scope.row.type === 'Offline'")
|
template(v-else-if="scope.row.type === 'Offline'")
|
||||||
|
|||||||
@@ -468,6 +468,7 @@ speechSynthesis.getVoices();
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
parse() {
|
parse() {
|
||||||
|
this.text = this.location;
|
||||||
var L = API.parseLocation(this.location);
|
var L = API.parseLocation(this.location);
|
||||||
if (L.isOffline) {
|
if (L.isOffline) {
|
||||||
this.text = 'Offline';
|
this.text = 'Offline';
|
||||||
|
|||||||
Reference in New Issue
Block a user