How to asynchronously take the value of Rich text in layui

ask how the rich text in layui is asynchronously valued.

layui.use("layedit", function(){
    let introduce = layui.layedit ;
    let content = introduce.build("introduce",{
    hideTool:["face"],
    
    introduce.getContent(content);
    introduce.sync(content)
});

asynchronously submit code

$("button[type=submit]").click(function(){
            let form = $(this).parents("form");
            let data = form.serializeArray();
            let method = form.attr("method");
            let action = form.attr("action");
            $.ajax({
                url : action,
                type : method || "get",
                data : data
                success(res)
                {
                    cosole.log(res)
                })
            });

submission in this way is always unable to get the value of textarea


var index= layedit.build('L_content', {
    tool: ['face','code','image' ,'link', 'unlink', '|', 'left', 'center','right','yulan','strong','italic','underline']
  }); //
 
$('button[type=submit]').click(function(){
                //
             var content=layedit.getContent(index);
            $.ajax({
                url : action,
                type : method || 'get',
                data : data
                success(res)
                {
                    cosole.log(res)
                })
Menu