升级@jeecg/online模块,支持erp风格&体积更小、聊天头像集成有问题修复
parent
7b1f11b88d
commit
46e8d51d46
|
@ -21,7 +21,7 @@
|
|||
"husky:install": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jeecg/online": "3.5.3-beta3",
|
||||
"@jeecg/online": "3.5.3-vite4",
|
||||
"@qiaoqiaoyun/drag-free": "^1.1.3",
|
||||
"@iconify/iconify": "^3.1.1",
|
||||
"@ant-design/colors": "^7.0.0",
|
||||
|
|
3034
pnpm-lock.yaml
3034
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -247,7 +247,8 @@
|
|||
}
|
||||
});
|
||||
|
||||
const storageEmojiIndex = inject('$globalEmojiIndex')
|
||||
// const storageEmojiIndex = inject('$globalEmojiIndex')
|
||||
const storageEmojiIndex = getGloablEmojiIndex()
|
||||
const { getHtml } = useEmojiHtml(storageEmojiIndex);
|
||||
const bottomCommentRef = ref()
|
||||
function handleClickItem(){
|
||||
|
|
|
@ -220,7 +220,8 @@
|
|||
visibleEmoji.value = !visibleEmoji.value;
|
||||
}
|
||||
|
||||
const emojiIndex = inject('$globalEmojiIndex')
|
||||
//const emojiIndex = inject('$globalEmojiIndex')
|
||||
const emojiIndex = getGloablEmojiIndex()
|
||||
const { getHtml } = useEmojiHtml(emojiIndex);
|
||||
|
||||
const commentHtml = computed(() => {
|
||||
|
|
|
@ -2,8 +2,8 @@ import type { App } from 'vue';
|
|||
import { registerJVxeTable } from '/@/components/jeecg/JVxeTable';
|
||||
import { registerJVxeCustom } from '/@/components/JVxeCustom';
|
||||
|
||||
// // 注册全局聊天表情包
|
||||
// import { Picker } from 'emoji-mart-vue-fast/src';
|
||||
// 注册全局聊天表情包
|
||||
import { Picker } from 'emoji-mart-vue-fast/src';
|
||||
// import { EmojiIndex } from "emoji-mart-vue-fast/src";
|
||||
// import data from "emoji-mart-vue-fast/data/apple.json";
|
||||
|
||||
|
@ -17,9 +17,9 @@ export async function registerThirdComp(app: App) {
|
|||
registerJVxeTable(app);
|
||||
// 注册 JVxeTable 自定义组件
|
||||
await registerJVxeCustom();
|
||||
// //---------------------------------------------------------------------
|
||||
// // 注册全局聊天表情包
|
||||
// app.component('Picker', Picker);
|
||||
//---------------------------------------------------------------------
|
||||
// 注册全局聊天表情包
|
||||
app.component('Picker', Picker);
|
||||
// let myEmojiIndex = new EmojiIndex(data, {
|
||||
// function() {
|
||||
// return true;
|
||||
|
@ -28,7 +28,7 @@ export async function registerThirdComp(app: App) {
|
|||
// });
|
||||
// app.config.globalProperties.$globalEmojiIndex = myEmojiIndex;
|
||||
// app.provide('$globalEmojiIndex', myEmojiIndex);
|
||||
// //---------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------
|
||||
// 注册全局dayjs
|
||||
dayjs.locale('zh-cn');
|
||||
dayjs.extend(relativeTime);
|
||||
|
|
Loading…
Reference in New Issue