




let content=new $View.getView({id:'#list'})
!async function getErrCode()
{
    let url='/http/index/getErrCode'
    data=await $Ajax.post({url})
    
    if(data)
    {
        GlobalCode=data.$code?data.$code:'code'
        GlobalCodeValue=data.$codeValue?data.$codeValue:0
        GlobalParam=data.$param?data.$param:'param'

        if(data[GlobalCode]===GlobalCodeValue)
        {
            $M.dispatch('html','auto-tag-update',data.param)

            let render=[]
            for (const key in data.param) 
            {
                let cur=data.param[key]
                if(key.indexOf( "$" )===0)continue
                if(typeof cur == 'object')
                {
                    for (const key in cur) 
                    {
                        let _cur=cur[key]
                        render.push(_cur)
                    }
                }
            }
            content.set(render)
        }

    }
}()







