mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 12:02:51 +00:00
客户端不需要显示首页
This commit is contained in:
parent
590b76a884
commit
a4e8761add
@ -2,10 +2,10 @@
|
||||
directory=/var/www
|
||||
|
||||
# 生产环境
|
||||
command=php bin/laravels start -i
|
||||
#command=php bin/laravels start -i
|
||||
|
||||
# 开发环境
|
||||
#command=./bin/inotify ./app
|
||||
command=./bin/inotify ./app
|
||||
|
||||
numprocs=1
|
||||
autostart=true
|
||||
|
||||
@ -203,11 +203,6 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
isNotServer() {
|
||||
let apiHome = $A.getDomain(window.systemInfo.apiUrl)
|
||||
return this.$Electron && (apiHome == "" || apiHome == "public")
|
||||
},
|
||||
|
||||
setTheme(mode) {
|
||||
this.$store.dispatch("setTheme", mode)
|
||||
},
|
||||
@ -221,7 +216,7 @@ export default {
|
||||
},
|
||||
|
||||
getNeedStartHome() {
|
||||
if (this.isNotServer()) {
|
||||
if (this.$Electron) {
|
||||
this.needStartHome = false;
|
||||
this.goForward({name: 'login'}, true);
|
||||
return;
|
||||
|
||||
@ -44,12 +44,14 @@
|
||||
<Radio label="required">{{$L('必填')}}</Radio>
|
||||
</RadioGroup>
|
||||
<div v-if="formDatum.chat_nickname == 'required'" class="form-tip">{{$L('必填:发送聊天内容前必须设置昵称。')}}</div>
|
||||
<div v-else class="form-tip">{{$L('如果必填,发送聊天前必须设置昵称。')}}</div>
|
||||
</FormItem>
|
||||
<FormItem :label="$L('自动归档任务')" prop="autoArchived">
|
||||
<RadioGroup :value="formDatum.auto_archived" @on-change="formArchived">
|
||||
<Radio label="open">{{$L('开启')}}</Radio>
|
||||
<Radio label="close">{{$L('关闭')}}</Radio>
|
||||
</RadioGroup>
|
||||
<div class="form-tip">{{$L('任务完成后自动归档。')}}</div>
|
||||
<ETooltip v-if="formDatum.auto_archived=='open'" placement="right">
|
||||
<div class="setting-auto-day">
|
||||
<Input v-model="formDatum.archived_day" type="number">
|
||||
@ -64,6 +66,7 @@
|
||||
<Radio label="open">{{$L('开启')}}</Radio>
|
||||
<Radio label="close">{{$L('关闭')}}</Radio>
|
||||
</RadioGroup>
|
||||
<div class="form-tip">{{$L('仅支持网页版。')}}</div>
|
||||
<Input
|
||||
v-if="formDatum.start_home == 'open'"
|
||||
v-model="formDatum.home_footer"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user