mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-18 01:44:36 +08:00
将用户配置分为通用和本机
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
export default {
|
||||
commandCardStyle: "normal",
|
||||
primaryColor: "#009688",
|
||||
defaultPrimaryColor: "#009688",
|
||||
backgroundImg: null,
|
||||
autofocusSearch: false,
|
||||
denseTagBar: false,
|
||||
quickFileEnable: false,
|
||||
quickFileTag: "文件",
|
||||
quickUrlEnable: false,
|
||||
quickUrlTag: "网址",
|
||||
pluNickNameEnable: false,
|
||||
pluNickNameTag: "别名",
|
||||
apiServerEnable: false,
|
||||
apiServerPort: 33442,
|
||||
common: {
|
||||
commandCardStyle: "normal",
|
||||
primaryColor: "#009688",
|
||||
defaultPrimaryColor: "#009688",
|
||||
backgroundImg: null,
|
||||
autofocusSearch: false,
|
||||
denseTagBar: false,
|
||||
quickFileEnable: false,
|
||||
quickFileTag: "文件",
|
||||
quickUrlEnable: false,
|
||||
quickUrlTag: "网址",
|
||||
pluNickNameEnable: false,
|
||||
pluNickNameTag: "别名",
|
||||
apiServerEnable: false,
|
||||
apiServerPort: 33442,
|
||||
},
|
||||
native: {
|
||||
crontabs: {},
|
||||
apiServerStatus: false
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ let whole = window.utools
|
||||
const DBPRE = {
|
||||
QC: 'qc_', // 快捷命令
|
||||
CFG: 'cfg_', // 配置
|
||||
PAN: 'pan_', // 面板视图
|
||||
PAN: 'panel_', // 面板视图
|
||||
STATUS: 'st_', // 状态变量
|
||||
USR: 'usr_' // 用户数据
|
||||
}
|
||||
@@ -85,5 +85,5 @@ export default {
|
||||
setStorage,
|
||||
getStorage,
|
||||
userData,
|
||||
DBPRE,
|
||||
getDocs,
|
||||
}
|
||||
Reference in New Issue
Block a user