简易输入提示

This commit is contained in:
2022-08-08 14:19:08 +08:00
parent 5f50dc8f2e
commit 9609aef740
8 changed files with 265 additions and 2 deletions

View File

@ -0,0 +1,19 @@
import PickleComplate from "../vendor/picomplete/picomplete";
(function () {
new PickleComplate({
request: {
url: '/programs/construct/append/from_list?',
type: 'GET',
value: 'from',
text: 'from',
},
config: {
type: 'server',
target: '#from_select',
clickCallback: (target, node) => {
target.value = node.value;
},
},
})
})()