no message

This commit is contained in:
kuaifan 2025-09-27 06:05:48 +08:00
parent 1b30582dd9
commit aba31eda83
5 changed files with 46 additions and 15 deletions

View File

@ -1,13 +0,0 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.
tasks:
- init: sudo ./cmd install
command: ./cmd dev
ports:
- port: 2222
visibility: public
- port: 22222
visibility: public

38
jsconfig.json Normal file
View File

@ -0,0 +1,38 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~element-sea/*": ["node_modules/element-sea/*"],
"~quill-hi/*": ["node_modules/quill-hi/*"],
"~quill-mention-hi/*": ["node_modules/quill-mention-hi/*"]
},
"moduleResolution": "node",
"module": "ESNext",
"target": "ES2019",
"allowJs": true,
"checkJs": false,
"jsx": "preserve",
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"types": []
},
"include": [
"resources/assets/js/**/*",
"resources/assets/**/*.vue",
"resources/assets/sass/**/*",
"electron/**/*.js",
"types/**/*.d.ts"
],
"exclude": [
"node_modules",
"vendor",
"storage",
"public",
"tests",
"docker",
"language",
"database",
"bin"
]
}

View File

@ -3,7 +3,7 @@
<p>{{$L(msg.title)}}</p>
<p>&nbsp;</p>
<p v-for="item in msg.list">
<p v-for="(item, index) in msg.list" :key="index">
<span class="mention task" :data-id="item.id">#{{item.name}}</span>
</p>
</div>

View File

@ -284,7 +284,7 @@
</div>
<ul class="item-content file">
<li v-if="taskDetail.file_num > 50" class="tip">{{$L(`${taskDetail.file_num}个文件仅显示最新50个`)}}</li>
<li v-for="file in fileList" @click="showFileDropdown(file, $event)">
<li v-for="(file, index) in fileList" :key="index" @click="showFileDropdown(file, $event)">
<img v-if="file.id" class="file-ext" :src="file.thumb"/>
<Loading v-else class="file-load"/>
<div class="file-name">{{file.name}}</div>

6
types/shims-vue.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
// TypeScript declaration so editor (TS language service used by Vetur) can understand .vue SFC imports
// This enables better IntelliSense and can help some cases of path resolution.
declare module '*.vue' {
import Vue from 'vue';
export default Vue;
}