mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
no message
This commit is contained in:
parent
2975a0eaf9
commit
569af135bd
@ -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
2
electron/build.js
vendored
@ -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)) {
|
||||
|
||||
@ -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(_ => {
|
||||
|
||||
@ -940,6 +940,7 @@
|
||||
|
||||
.file-thumb {
|
||||
width: 36px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.file-info {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user