refresh:從server端重新獲取數(shù)據(jù)。 refreshOptions:更新bootstrapTable options,并從server端獲取數(shù)據(jù)。與refresh的區(qū)別在于,refreshOptions設(shè)置的option,會(huì)被作為下次請(qǐng)求server數(shù)據(jù)的默認(rèn)option使用。 另外,使用refreshOptions時(shí),注意bootstrapTable的版本,一些老版本不支持該方法。 BootstrapTable請(qǐng)求數(shù)據(jù)時(shí)設(shè)置超時(shí)(timeout)的方...
www.dbjr.com.cn/article/1038...htm 2025-5-27