Update index.html

解决菜单选事件提交后菜单总是变成扫描二维码的错误
This commit is contained in:
陶欣 2018-11-22 14:29:32 +08:00 committed by GitHub
parent 8132fc55b9
commit 2a8e7b80e3
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); $('.editor-content-input').html($edit);
// 跳转网页处理选择器切换,事件监听 // 跳转网页处理选择器切换,事件监听
@ -352,4 +359,4 @@
padding-top: 40px padding-top: 40px
} }
</style> </style>
{/block} {/block}