11
This commit is contained in:
1 parent
2a2718689c
commit
d6d89eebaf
2 files changed
+11
-3
No files matched your search
BIN
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<v-list-item v-for="x in onlineuser" v-show=" x!=accountStore.user.login"
|
<v-list-item v-for="x in onlineuser"
|
||||||
:key="x"
|
:key="x"
|
||||||
:prepend-avatar="checkremote( `${spravURL}${x}.jpg`)"
|
:prepend-avatar="checkremote( `${spravURL}${x}.jpg`)"
|
||||||
title="x"
|
title="x"
|
||||||
@@ -37,11 +37,19 @@ export default {
|
|||||||
const loging = ref('')
|
const loging = ref('')
|
||||||
const menuGetUserDialog=ref(false)
|
const menuGetUserDialog=ref(false)
|
||||||
const wsfuncs={onliner:function(data){
|
const wsfuncs={onliner:function(data){
|
||||||
|
|
||||||
let newset = new Set(data)
|
let newset = new Set(data)
|
||||||
onlineuser.value = Array.from(newset)
|
console.log(Array.from(newset));
|
||||||
|
let arr= Array.from(newset)
|
||||||
|
arr.splice(arr.findIndex(e=> e == accountStore.user.login), 1)
|
||||||
|
|
||||||
|
|
||||||
|
console.log(accountStore.user.login,'accountStore');
|
||||||
|
onlineuser.value = arr
|
||||||
}}
|
}}
|
||||||
const accountStore = useAccountStore()
|
const accountStore = useAccountStore()
|
||||||
let onlineuser= ref([''])
|
let onlineuser= ref([])
|
||||||
|
|
||||||
// const userlinks = ref([])
|
// const userlinks = ref([])
|
||||||
|
|
||||||
// const loadlinksUser=async()=>{
|
// const loadlinksUser=async()=>{
|
||||||
|
|||||||
Reference in new issue
Block a user