1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// import http from '../../config/httpServer'
// import {backToken} from '../../config/env'
import $ from 'jquery'
function keydown() {
$(document).keyup(function (event) {
if (event.keyCode == 13) {
$(".search").trigger("click");
}
});
}
// function getBranch() {
// // 归属网点列表渲染
// $.ajax({
// type: "get",
// url: "bankBranchInfo/getBankBox",
// authType: backToken,
// async:false,
// success: function (res) { //function1()
// console.log(res.data);
// return res.data
// }
// })
// console.log(22);
// http({
// method: 'get',
// url: 'bankBranchInfo/getBankBox',
// authType: backToken
// }).then((res) => {
// // _this.options = res.data.records;
// console.log(res.data);
// return res.data;
// }, (error) => {
// console.log(error)
// }
// )
// }
export const shortcuts = function () {
keydown()
}