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)
                })
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9d94d-196a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9d94d-196a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?