mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-24 04:21:23 +08:00
清空数据时停用所有实用功能
This commit is contained in:
@@ -64,7 +64,10 @@ export default defineComponent({
|
||||
let userProfile = this.utools.getDB(
|
||||
this.utools.DBPRE.CFG + "preferences"
|
||||
);
|
||||
_.merge(defaultProfile, _.cloneDeep(userProfile));
|
||||
this.profile = _.merge(
|
||||
_.cloneDeep(defaultProfile),
|
||||
_.cloneDeep(userProfile)
|
||||
);
|
||||
// 计划任务
|
||||
_.forIn(this.profile.crontabs, (cronExp, featureCode) => {
|
||||
this.runCronTask(featureCode, cronExp);
|
||||
|
||||
Reference in New Issue
Block a user