发现在数据库改标签比较麻烦,就在前台模板实现了,通过js跳转。 <script> {ms:channel type=self} if("[field.typeurl/]"!=""){ //栏目自定义链接 window.location.href="[field.typeurl/]"; } {/ms:channel} </script> 来源:oschina链接:https://my.oschina.net/u/876732/blog/4280489 标签 javascript mcms