mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 02:52:26 +00:00
项目更名
This commit is contained in:
@@ -7,4 +7,4 @@ VITE_CLIENT_VERSION = 789654
|
||||
VITE_WS_URL = 'ws://localhost:80/ws'
|
||||
|
||||
# title
|
||||
VITE_TITLE = 'AnyIM 即时通信(开发环境)'
|
||||
VITE_TITLE = 'Open-AnyLink(开发环境)'
|
||||
@@ -1,4 +1,4 @@
|
||||
# anyim-web
|
||||
# open-anylink-web
|
||||
|
||||
This template should help get you started developing with Vue 3 in Vite.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>AnyIM 即时通信</title>
|
||||
<title>Open-AnyLink</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "anyim-web",
|
||||
"name": "anylink-web",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ref } from 'vue'
|
||||
import { groupInfoListService } from '@/api/group'
|
||||
|
||||
// group群组相关的缓存数据,不持久化存储
|
||||
export const groupStore = defineStore('anyim-group', () => {
|
||||
export const groupStore = defineStore('anylink-group', () => {
|
||||
/**
|
||||
* 和我有关的所有群组,格式:{groupId_1: groupInfo_1, groupId_2: groupInfo_2}
|
||||
*/
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ref } from 'vue'
|
||||
import {} from '@/api/group'
|
||||
|
||||
// groupCard群组详情卡片相关的缓存数据,不持久化存储
|
||||
export const groupCardStore = defineStore('anyim-groupCard', () => {
|
||||
export const groupCardStore = defineStore('anylink-groupCard', () => {
|
||||
const isShow = ref(false)
|
||||
|
||||
const groupId = ref('')
|
||||
|
||||
@@ -5,7 +5,7 @@ import { ref } from 'vue'
|
||||
const pattern = /\{[a-f0-9]+\}/g
|
||||
|
||||
// image的缓存数据,不持久化存储
|
||||
export const imageStore = defineStore('anyim-image', () => {
|
||||
export const imageStore = defineStore('anylink-image', () => {
|
||||
/**
|
||||
* {
|
||||
* objectId_01: {objectId: objectId_01, originUrl: xxx, thumbUrl: xxx},
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
import { ElMessage } from 'element-plus'
|
||||
|
||||
// 消息功能相关需要缓存的数据,不持久化存储
|
||||
export const messageStore = defineStore('anyim-message', () => {
|
||||
export const messageStore = defineStore('anylink-message', () => {
|
||||
/**
|
||||
* message页面当前被选中的sessionId
|
||||
*/
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineStore } from 'pinia'
|
||||
import { ref, computed } from 'vue'
|
||||
|
||||
// 不持久化存储
|
||||
export const searchStore = defineStore('anyim-search', () => {
|
||||
export const searchStore = defineStore('anylink-search', () => {
|
||||
const keywords = ref('')
|
||||
|
||||
const setKeywords = (words) => {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ref } from 'vue'
|
||||
|
||||
// 界面设置相关需要缓存的设置
|
||||
export const settingStore = defineStore(
|
||||
'anyim-setting',
|
||||
'anylink-setting',
|
||||
() => {
|
||||
const sessionListDrag = ref(0)
|
||||
const inputBoxDrag = ref(0)
|
||||
|
||||
@@ -5,7 +5,7 @@ import { refreshToken } from '@/api/user'
|
||||
|
||||
// 用户模块
|
||||
export const userStore = defineStore(
|
||||
'anyim-user',
|
||||
'anylink-user',
|
||||
() => {
|
||||
const at = ref({
|
||||
token: '',
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ref } from 'vue'
|
||||
import {} from '@/api/group'
|
||||
|
||||
// userCard用户详情卡片相关的缓存数据,不持久化存储
|
||||
export const userCardStore = defineStore('anyim-userCard', () => {
|
||||
export const userCardStore = defineStore('anylink-userCard', () => {
|
||||
const isShow = ref(false)
|
||||
|
||||
const userInfo = ref({})
|
||||
|
||||
Reference in New Issue
Block a user