mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-20 19:20:37 +08:00
读剪贴板支持图片、html、rtf,新增用户数据分类
This commit is contained in:
61
src/js/composer/commands/userdataCommands.js
Normal file
61
src/js/composer/commands/userdataCommands.js
Normal file
@@ -0,0 +1,61 @@
|
||||
export const userdataCommands = {
|
||||
label: "用户数据",
|
||||
icon: "folder_shared",
|
||||
defaultOpened: false,
|
||||
commands: [
|
||||
{
|
||||
value: "quickcommand.userData.get",
|
||||
label: "获取用户数据",
|
||||
icon: "database",
|
||||
config: [
|
||||
{
|
||||
label: "数据标识",
|
||||
type: "input",
|
||||
},
|
||||
],
|
||||
outputVariable: "userData",
|
||||
saveOutput: true,
|
||||
},
|
||||
{
|
||||
value: "quickcommand.userData.all",
|
||||
label: "获取所有用户数据",
|
||||
icon: "database",
|
||||
outputVariable: "userDatas",
|
||||
saveOutput: true,
|
||||
},
|
||||
{
|
||||
value: "quickcommand.userData.put",
|
||||
label: "设置用户数据",
|
||||
icon: "database",
|
||||
config: [
|
||||
{
|
||||
label: "数据",
|
||||
type: "varInput",
|
||||
width: 7,
|
||||
},
|
||||
{
|
||||
label: "数据标识",
|
||||
type: "input",
|
||||
width: 3,
|
||||
},
|
||||
{
|
||||
label: "不同步",
|
||||
type: "checkbox",
|
||||
defaultValue: true,
|
||||
width: 2,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "quickcommand.userData.del",
|
||||
label: "删除用户数据",
|
||||
icon: "database",
|
||||
config: [
|
||||
{
|
||||
label: "数据标识",
|
||||
type: "input",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user