TWaver Forums
http://twaver.servasoft.com/forum/

不想显示link合并后的数字
http://twaver.servasoft.com/forum/viewtopic.php?f=35&t=5752
Page 1 of 1

Author:  Paddy [ 2017-05-22 9:23 ]
Post subject:  不想显示link合并后的数字

如果不想显示link合并后的数字,可以重写network.getLinkHandlerLabel方法,默认实现如下:

Code:
network.getLinkHandlerLabel = function (link) {
        if (link.isBundleAgent()) {
            return "+(" + link.getBundleCount() + ")";
        }
        return null;
    };


可以改为:

Code:
network.getLinkHandlerLabel = function (link) {
       return null;
    };

Page 1 of 1 All times are UTC + 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/
./cache/ is NOT writable.