解决qap apiList冗余问题
将
this.request({
api: 'itemCopyLogin'
}, ()=> {
this.nav('qap:///itemCopy.js', '宝贝复制', true);
})
转成
this.request({
api: 'itemCopyLogin',
apio: {
server: 'rc',
url: 'https://mwdsp.superboss.cc/itemcopy/login.rjson',
params: {
method: 'GET',
mode: 'same-origin',
dataType: 'json',
apiName: 'itemCopyLogin',
api_name: 'itemCopyLogin'
}
}
}, () => {
_this.nav('qap:///itemCopy.js', '宝贝复制', true);
});