no message

This commit is contained in:
kuaifan 2024-01-15 21:22:14 +08:00
parent 2975a0eaf9
commit 569af135bd
4 changed files with 11 additions and 5 deletions

View File

@ -37,9 +37,14 @@ class IndexController extends InvokeController
if ($action) {
$app .= "__" . $action;
}
if ($app === 'manifest.txt') {
$app = 'manifest';
$child = 'txt';
switch ($app) {
case 'manifest.txt':
$app = 'manifest';
$child = 'txt';
break;
case 'default':
return '';
}
if (!method_exists($this, $app)) {
$app = method_exists($this, $method) ? $method : 'main';

2
electron/build.js vendored
View File

@ -203,8 +203,6 @@ function startBuild(data) {
fs.writeFileSync(electronDir + "/config.js", "window.systemInfo = " + JSON.stringify(systemInfo), 'utf8');
fs.writeFileSync(nativeCachePath, utils.formatUrl(data.url));
fs.writeFileSync(devloadCachePath, "", 'utf8');
// default (fix "Failed to load resource: net::ERR_FILE_NOT_FOUND" report)
fs.writeFileSync(electronDir + "/default", "default", 'utf8');
// index.html
let manifestFile = path.resolve(electronDir, "manifest.json");
if (!fs.existsSync(manifestFile)) {

View File

@ -876,6 +876,7 @@ export default {
}
this.emojiTimer && clearTimeout(this.emojiTimer)
this.emojiTimer = setTimeout(_ => {
this.emojiTimer = null
if (/<img/i.test(text)) {
this.emojiQuickShow = false
return
@ -1036,6 +1037,7 @@ export default {
},
onSend(type) {
this.emojiTimer && clearTimeout(this.emojiTimer)
this.emojiQuickShow = false;
//
setTimeout(_ => {

View File

@ -940,6 +940,7 @@
.file-thumb {
width: 36px;
flex-shrink: 0;
}
.file-info {