master
yixian 5 years ago
parent 04c052b75f
commit 2713b90c13

@ -1,6 +1,6 @@
$(function () { $(function () {
let $container = $('.qr-img-box')[0]; let $container = $('.qr-img-box')[0];
let cardFrame = window.channel_account_id ? TokenInputFrame($container, window.channel_account_id) : CardInputFrame($container); let cardFrame = window.channel_account_id ? new TokenInputFrame($container, window.channel_account_id) : new CardInputFrame($container);
cardFrame.onSuccess = function (secretData) { cardFrame.onSuccess = function (secretData) {
$.ajax({ $.ajax({
url: 'commit', url: 'commit',

Loading…
Cancel
Save