View unanswered posts | View active topics It is currently 2021-04-21 9:37



Reply to topic  [ 1 post ] 
 不想显示link合并后的数字 
Author Message
TWaver开发组
User avatar

Joined: 2017-02-22 10:01
Posts: 476
Post 不想显示link合并后的数字
如果不想显示link合并后的数字,可以重写network.getLinkHandlerLabel方法,默认实现如下:

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


可以改为:

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


2017-05-22 9:23
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron