Merge pull request #150 from taochangle/patch-1

解决菜单选事件提交后菜单总是变成扫描二维码的错误
This commit is contained in:
邹景立 2018-11-26 17:41:19 +08:00 committed by GitHub
commit cdd66b27a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,6 +259,13 @@
});
}
});
//解决菜单选事件提交后菜单总是变成扫描二维码的错误
$edit.find('input').on('click', function () {
$span.data(this.name, $(this).val() || $(this).html());
if (type === 'event') {
this.value === $span.data('content');
}
});
// 显示参数编辑器
$('.editor-content-input').html($edit);
// 跳转网页处理选择器切换,事件监听
@ -352,4 +359,4 @@
padding-top: 40px
}
</style>
{/block}
{/block}