mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-18 01:44:36 +08:00
selectList 80%
This commit is contained in:
@@ -89,11 +89,9 @@ const quickcommand = {
|
||||
})
|
||||
}),
|
||||
|
||||
|
||||
showSelectList: (selects, options = {
|
||||
placeholder: "请选择",
|
||||
optionType: "plaintext"
|
||||
}) => new Promise((reslove, reject) => {
|
||||
showSelectList: (selects, options = {}) => new Promise((reslove, reject) => {
|
||||
if (!options.placeholder) options.placeholder = "输入进行筛选"
|
||||
if (!options.optionType) options.optionType = "plaintext"
|
||||
let props = {
|
||||
items: selects,
|
||||
options: options
|
||||
@@ -106,7 +104,12 @@ const quickcommand = {
|
||||
}).onCancel(() => {
|
||||
console.log('取消')
|
||||
})
|
||||
})
|
||||
}),
|
||||
|
||||
// 更新选项列表
|
||||
updateSelectList: (opt, id) => {
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
export default quickcommand
|
||||
export default quickcommand
|
||||
|
||||
Reference in New Issue
Block a user