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>
|
||||
<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"
|
||||
:prepend-avatar="checkremote( `${spravURL}${x}.jpg`)"
|
||||
title="x"
|
||||
@@ -37,11 +37,19 @@ export default {
|
||||
const loging = ref('')
|
||||
const menuGetUserDialog=ref(false)
|
||||
const wsfuncs={onliner:function(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()
|
||||
let onlineuser= ref([''])
|
||||
let onlineuser= ref([])
|
||||
|
||||
// const userlinks = ref([])
|
||||
|
||||
// const loadlinksUser=async()=>{
|
||||
|
||||
Reference in new issue
Block a user