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