mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-19 19:49:36 +08:00
Compare commits
No commits in common. "c8332049c1e0e248e3ada018bff3af92aebb73ed" and "f8e78506d0f1885bab4e66b2f51573c8f570616b" have entirely different histories.
c8332049c1
...
f8e78506d0
@ -262,10 +262,6 @@
|
|||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-sm-2 col-form-label">运行星期</label>
|
<label class="col-sm-2 col-form-label">运行星期</label>
|
||||||
<div class="col-sm-10 col-form-label">
|
<div class="col-sm-10 col-form-label">
|
||||||
<div class="form-check form-check-inline" title="也可用作任务总开关">
|
|
||||||
<input class="form-check-input" type="checkbox" :checked="task.runweek.length === 7" @change="toggleAllWeekdays(task)" :indeterminate.prop="task.runweek.length > 0 && task.runweek.length < 7">
|
|
||||||
<label class="form-check-label">全选</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-check form-check-inline" v-for="(day, index) in weekdays" :key="index">
|
<div class="form-check form-check-inline" v-for="(day, index) in weekdays" :key="index">
|
||||||
<input class="form-check-input" type="checkbox" v-model="task.runweek" :value="index+1">
|
<input class="form-check-input" type="checkbox" v-model="task.runweek" :value="index+1">
|
||||||
<label class="form-check-label" v-html="day"></label>
|
<label class="form-check-label" v-html="day"></label>
|
||||||
@ -650,13 +646,6 @@
|
|||||||
isPluginDisabled(pluginName) {
|
isPluginDisabled(pluginName) {
|
||||||
const pluginsFlagsArray = this.plugin_flags.split(',');
|
const pluginsFlagsArray = this.plugin_flags.split(',');
|
||||||
return pluginsFlagsArray.includes(`-${pluginName}`);
|
return pluginsFlagsArray.includes(`-${pluginName}`);
|
||||||
},
|
|
||||||
toggleAllWeekdays(task) {
|
|
||||||
if (task.runweek.length === 7) {
|
|
||||||
task.runweek = [];
|
|
||||||
} else {
|
|
||||||
task.runweek = [1, 2, 3, 4, 5, 6, 7];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user