master
yixian 5 years ago
parent 04c052b75f
commit 2713b90c13

@ -1,6 +1,6 @@
$(function () {
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) {
$.ajax({
url: 'commit',

Loading…
Cancel
Save