Authored by 陈峰

edit save

... ... @@ -119,9 +119,11 @@
</checkbox-material>
</Form-item>
<Form-item>
<Button type="primary" @click="submit" size="large" id="btnSave">保存</Button>
<div class="btn-fixed" :class="btnFixClass">
<Button type="primary" @click="submit" size="large" id="btnSave">保存</Button>
</div>
</Form-item>
<back-top-dom></back-top-dom>
<back-top-dom :bottom="100"></back-top-dom>
</Form>
<Spin size="large" fix v-else-if="showLoading"></Spin>
<modal-example ref="example"></modal-example>
... ... @@ -139,7 +141,6 @@ export default {
return edit.call(this);
},
created() {
this.handleScrollBtn();
this.productService = new ProductService();
this.productCreateService = new ProductCreateService();
this.from = this.$route.query.from || this.from;
... ... @@ -179,29 +180,24 @@ export default {
});
},
mounted() {
if (document.getElementsByClassName('layout-content')[0]) {
document.getElementsByClassName('layout-content')[0].addEventListener('scroll', this.handleScrollBtn, true);
}
this.$nextTick(() => {
document.querySelector('.layout-content')
.addEventListener('scroll', this.handleScrollBtn, true);
});
},
beforeDestroy() {
document.getElementsByClassName('layout-content')[0].addEventListener('scroll', this.handleScrollBtn, false);
document.querySelector('.layout-content')
.removeEventListener('scroll', this.handleScrollBtn, false);
},
methods: {
handleScrollBtn() {
let $content = document.querySelector('.layout-content'),
$body = document.querySelector('.layout-body');
if (document.getElementsByClassName('layout-content')[0]) {
let scrollPosition = document.getElementsByClassName('layout-content')[0].scrollTop > 600 &&
document.getElementsByClassName('layout-content')[0].scrollTop < 3000 ? true : false;
if (document.getElementById('btnSave')) {
if (scrollPosition === true) {
document.getElementById('btnSave').style.position = 'fixed';
document.getElementById('btnSave').style.top = 54 + 'px';
document.getElementById('btnSave').style.right = 40 + 'px';
} else {
document.getElementById('btnSave').style.position = 'initial';
}
}
if ($body.clientHeight - $content.clientHeight - $content.scrollTop < 50) {
this.btnFixClass = {};
} else {
this.btnFixClass = {fix: true};
}
},
removeColor(color) {
... ... @@ -669,6 +665,21 @@ export default {
width: auto;
}
}
.btn-fixed {
&.fix {
width: calc(100% - 200px);
position: fixed;
bottom: 0;
left: 200px;
text-align: right;
padding-right: 50px;
height: 60px;
line-height: 60px;
background: rgba(255, 255, 255, 0.7);
box-shadow: 1px 0 5px 1px #ccc;
}
}
}
.create-group {
... ...
... ... @@ -3,6 +3,8 @@ export default function() {
return {
form: '',
showLoading: true,
btnFixClass: {fix: true},
btnFixStyle: {},
product: {
seasons: '',
productIntro: ''
... ...
{
"name": "yoho-shop-manage",
"version": "1.0.25",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"ajv": {
"version": "4.11.8",
"resolved": "http://registry.npm.taobao.org/ajv/download/ajv-4.11.8.tgz",
"integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=",
"requires": {
"co": "4.6.0",
"json-stable-stringify": "1.0.1"
}
},
"asn1": {
"version": "0.2.3",
"resolved": "http://registry.npm.taobao.org/asn1/download/asn1-0.2.3.tgz",
"integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y="
},
"assert-plus": {
"version": "0.2.0",
"resolved": "http://registry.npm.taobao.org/assert-plus/download/assert-plus-0.2.0.tgz",
"integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ="
},
"async-listener": {
"version": "0.6.7",
"resolved": "http://registry.npm.taobao.org/async-listener/download/async-listener-0.6.7.tgz",
"integrity": "sha1-eTlxzm9DHkH3XO9sChcGuQU+TVs=",
"requires": {
"semver": "5.4.1",
"shimmer": "1.1.0"
},
"dependencies": {
"semver": {
"version": "5.4.1",
"resolved": "http://registry.npm.taobao.org/semver/download/semver-5.4.1.tgz",
"integrity": "sha1-4FnAnYVx8FQII3M0M1BdOi8AsY4="
}
}
},
"asynckit": {
"version": "0.4.0",
"resolved": "http://registry.npm.taobao.org/asynckit/download/asynckit-0.4.0.tgz",
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"aws-sign2": {
"version": "0.6.0",
"resolved": "http://registry.npm.taobao.org/aws-sign2/download/aws-sign2-0.6.0.tgz",
"integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8="
},
"aws4": {
"version": "1.6.0",
"resolved": "http://registry.npm.taobao.org/aws4/download/aws4-1.6.0.tgz",
"integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4="
},
"bcrypt-pbkdf": {
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/bcrypt-pbkdf/download/bcrypt-pbkdf-1.0.1.tgz",
"integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=",
"optional": true,
"requires": {
"tweetnacl": "0.14.5"
}
},
"boom": {
"version": "2.10.1",
"resolved": "http://registry.npm.taobao.org/boom/download/boom-2.10.1.tgz",
"integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=",
"requires": {
"hoek": "2.16.3"
}
},
"bunyan": {
"version": "0.14.6",
"resolved": "http://registry.npm.taobao.org/bunyan/download/bunyan-0.14.6.tgz",
"integrity": "sha1-zNnPCu2Og/hFPW3XLJ69jY3kVQs="
},
"caseless": {
"version": "0.12.0",
"resolved": "http://registry.npm.taobao.org/caseless/download/caseless-0.12.0.tgz",
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
},
"co": {
"version": "4.6.0",
"resolved": "http://registry.npm.taobao.org/co/download/co-4.6.0.tgz",
"integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ="
},
"combined-stream": {
"version": "1.0.5",
"resolved": "http://registry.npm.taobao.org/combined-stream/download/combined-stream-1.0.5.tgz",
"integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=",
"requires": {
"delayed-stream": "1.0.0"
}
},
"continuation-local-storage": {
"version": "3.2.0",
"resolved": "http://registry.npm.taobao.org/continuation-local-storage/download/continuation-local-storage-3.2.0.tgz",
"integrity": "sha1-4Z/Da1lwkKXU5KOy6j68XilpSiQ=",
"requires": {
"async-listener": "0.6.7",
"emitter-listener": "1.0.1"
}
},
"core-util-is": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/core-util-is/download/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"cryptiles": {
"version": "2.0.5",
"resolved": "http://registry.npm.taobao.org/cryptiles/download/cryptiles-2.0.5.tgz",
"integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=",
"requires": {
"boom": "2.10.1"
}
},
"dashdash": {
"version": "1.14.1",
"resolved": "http://registry.npm.taobao.org/dashdash/download/dashdash-1.14.1.tgz",
"integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
"requires": {
"assert-plus": "1.0.0"
},
"dependencies": {
"assert-plus": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
}
}
},
"debug": {
"version": "2.6.8",
"resolved": "http://registry.npm.taobao.org/debug/download/debug-2.6.8.tgz",
"integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=",
"requires": {
"ms": "2.0.0"
}
},
"delayed-stream": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/delayed-stream/download/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
},
"ecc-jsbn": {
"version": "0.1.1",
"resolved": "http://registry.npm.taobao.org/ecc-jsbn/download/ecc-jsbn-0.1.1.tgz",
"integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=",
"optional": true,
"requires": {
"jsbn": "0.1.1"
}
},
"emitter-listener": {
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/emitter-listener/download/emitter-listener-1.0.1.tgz",
"integrity": "sha1-skmepuWCMKUsJo1d8mHuzZ8Q/pc=",
"requires": {
"shimmer": "1.0.0"
},
"dependencies": {
"shimmer": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/shimmer/download/shimmer-1.0.0.tgz",
"integrity": "sha1-ScLXHGeDYLgCvhiyeDgtHLuAXDk="
}
}
},
"extend": {
"version": "3.0.1",
"resolved": "http://registry.npm.taobao.org/extend/download/extend-3.0.1.tgz",
"integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ="
},
"extsprintf": {
"version": "1.3.0",
"resolved": "http://registry.npm.taobao.org/extsprintf/download/extsprintf-1.3.0.tgz",
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
},
"forever-agent": {
"version": "0.6.1",
"resolved": "http://registry.npm.taobao.org/forever-agent/download/forever-agent-0.6.1.tgz",
"integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
},
"form-data": {
"version": "2.1.4",
"resolved": "http://registry.npm.taobao.org/form-data/download/form-data-2.1.4.tgz",
"integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=",
"requires": {
"asynckit": "0.4.0",
"combined-stream": "1.0.5",
"mime-types": "2.1.17"
}
},
"getpass": {
"version": "0.1.7",
"resolved": "http://registry.npm.taobao.org/getpass/download/getpass-0.1.7.tgz",
"integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
"requires": {
"assert-plus": "1.0.0"
},
"dependencies": {
"assert-plus": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
}
}
},
"har-schema": {
"version": "1.0.5",
"resolved": "http://registry.npm.taobao.org/har-schema/download/har-schema-1.0.5.tgz",
"integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4="
},
"har-validator": {
"version": "4.2.1",
"resolved": "http://registry.npm.taobao.org/har-validator/download/har-validator-4.2.1.tgz",
"integrity": "sha1-M0gdDxu/9gDdID11gSpqX7oALio=",
"requires": {
"ajv": "4.11.8",
"har-schema": "1.0.5"
}
},
"hawk": {
"version": "3.1.3",
"resolved": "http://registry.npm.taobao.org/hawk/download/hawk-3.1.3.tgz",
"integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=",
"requires": {
"boom": "2.10.1",
"cryptiles": "2.0.5",
"hoek": "2.16.3",
"sntp": "1.0.9"
}
},
"hoek": {
"version": "2.16.3",
"resolved": "http://registry.npm.taobao.org/hoek/download/hoek-2.16.3.tgz",
"integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0="
},
"http-signature": {
"version": "1.1.1",
"resolved": "http://registry.npm.taobao.org/http-signature/download/http-signature-1.1.1.tgz",
"integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=",
"requires": {
"assert-plus": "0.2.0",
"jsprim": "1.4.1",
"sshpk": "1.13.1"
}
},
"is-docker": {
"version": "1.1.0",
"resolved": "http://registry.npm.taobao.org/is-docker/download/is-docker-1.1.0.tgz",
"integrity": "sha1-8EN01O7lMQ6ajhE78UlUEeRhdqE="
},
"is-typedarray": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/is-typedarray/download/is-typedarray-1.0.0.tgz",
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
},
"isstream": {
"version": "0.1.2",
"resolved": "http://registry.npm.taobao.org/isstream/download/isstream-0.1.2.tgz",
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
},
"jsbn": {
"version": "0.1.1",
"resolved": "http://registry.npm.taobao.org/jsbn/download/jsbn-0.1.1.tgz",
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
"optional": true
},
"json-schema": {
"version": "0.2.3",
"resolved": "http://registry.npm.taobao.org/json-schema/download/json-schema-0.2.3.tgz",
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
},
"json-stable-stringify": {
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/json-stable-stringify/download/json-stable-stringify-1.0.1.tgz",
"integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=",
"requires": {
"jsonify": "0.0.0"
}
},
"json-stringify-safe": {
"version": "5.0.1",
"resolved": "http://registry.npm.taobao.org/json-stringify-safe/download/json-stringify-safe-5.0.1.tgz",
"integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
},
"jsonify": {
"version": "0.0.0",
"resolved": "http://registry.npm.taobao.org/jsonify/download/jsonify-0.0.0.tgz",
"integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM="
},
"jsprim": {
"version": "1.4.1",
"resolved": "http://registry.npm.taobao.org/jsprim/download/jsprim-1.4.1.tgz",
"integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
"requires": {
"assert-plus": "1.0.0",
"extsprintf": "1.3.0",
"json-schema": "0.2.3",
"verror": "1.10.0"
},
"dependencies": {
"assert-plus": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
}
}
},
"mime-db": {
"version": "1.30.0",
"resolved": "http://registry.npm.taobao.org/mime-db/download/mime-db-1.30.0.tgz",
"integrity": "sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE="
},
"mime-types": {
"version": "2.1.17",
"resolved": "http://registry.npm.taobao.org/mime-types/download/mime-types-2.1.17.tgz",
"integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=",
"requires": {
"mime-db": "1.30.0"
}
},
"ms": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/ms/download/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"oauth-sign": {
"version": "0.8.2",
"resolved": "http://registry.npm.taobao.org/oauth-sign/download/oauth-sign-0.8.2.tgz",
"integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM="
},
"oneapm": {
"version": "2.1.7",
"resolved": "http://registry.npm.taobao.org/oneapm/download/oneapm-2.1.7.tgz",
"integrity": "sha1-LdFb0OqsLZjSHjfnDEY+a7wt1Xk=",
"requires": {
"bunyan": "0.14.6",
"continuation-local-storage": "3.2.0",
"debug": "2.6.8",
"is-docker": "1.1.0",
"oneapm-config": "1.2.0",
"oneapm-logger": "2.0.0",
"oneapm-server": "1.1.0",
"oneapm-util": "1.0.0",
"pidusage-fork": "https://registry.npmjs.org/pidusage-fork/-/pidusage-fork-0.1.1.tgz",
"redis-commands": "1.3.1",
"semver": "4.3.6",
"sqlstring": "2.2.0"
}
},
"oneapm-config": {
"version": "1.2.0",
"resolved": "http://registry.npm.taobao.org/oneapm-config/download/oneapm-config-1.2.0.tgz",
"integrity": "sha1-BFj+aKTsB81dI5nOR9UF9MG69DE=",
"requires": {
"oneapm-util": "1.0.0"
}
},
"oneapm-logger": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/oneapm-logger/download/oneapm-logger-2.0.0.tgz",
"integrity": "sha1-XJzNVHtV8/Cf2nXl7je8OU14XOc=",
"requires": {
"bunyan": "0.14.6",
"oneapm-config": "1.2.0"
}
},
"oneapm-server": {
"version": "1.1.0",
"resolved": "http://registry.npm.taobao.org/oneapm-server/download/oneapm-server-1.1.0.tgz",
"integrity": "sha1-ig4+iqlDVTf5Lhnm41x14E0lG7w=",
"requires": {
"debug": "2.6.8",
"oneapm-config": "1.2.0",
"oneapm-logger": "2.0.0",
"oneapm-util": "1.0.0",
"request": "2.81.0"
},
"dependencies": {
"request": {
"version": "2.81.0",
"resolved": "http://registry.npm.taobao.org/request/download/request-2.81.0.tgz",
"integrity": "sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA=",
"requires": {
"aws-sign2": "0.6.0",
"aws4": "1.6.0",
"caseless": "0.12.0",
"combined-stream": "1.0.5",
"extend": "3.0.1",
"forever-agent": "0.6.1",
"form-data": "2.1.4",
"har-validator": "4.2.1",
"hawk": "3.1.3",
"http-signature": "1.1.1",
"is-typedarray": "1.0.0",
"isstream": "0.1.2",
"json-stringify-safe": "5.0.1",
"mime-types": "2.1.17",
"oauth-sign": "0.8.2",
"performance-now": "0.2.0",
"qs": "6.4.0",
"safe-buffer": "5.1.1",
"stringstream": "0.0.5",
"tough-cookie": "2.3.2",
"tunnel-agent": "0.6.0",
"uuid": "3.1.0"
}
},
"uuid": {
"version": "3.1.0",
"resolved": "http://registry.npm.taobao.org/uuid/download/uuid-3.1.0.tgz",
"integrity": "sha1-PdPT55Crwk17DToDT/q6vijrvAQ="
}
}
},
"oneapm-util": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/oneapm-util/download/oneapm-util-1.0.0.tgz",
"integrity": "sha1-VGgLDfoAqc7YgvBQQ8n7zCMbmMw="
},
"performance-now": {
"version": "0.2.0",
"resolved": "http://registry.npm.taobao.org/performance-now/download/performance-now-0.2.0.tgz",
"integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU="
},
"pidusage-fork": {
"version": "https://registry.npmjs.org/pidusage-fork/-/pidusage-fork-0.1.1.tgz",
"integrity": "sha1-M0eHQDolv0lmnqEtux+LygJcN8U="
},
"punycode": {
"version": "1.4.1",
"resolved": "http://registry.npm.taobao.org/punycode/download/punycode-1.4.1.tgz",
"integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
},
"qs": {
"version": "6.4.0",
"resolved": "http://registry.npm.taobao.org/qs/download/qs-6.4.0.tgz",
"integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM="
},
"redis-commands": {
"version": "1.3.1",
"resolved": "http://registry.npm.taobao.org/redis-commands/download/redis-commands-1.3.1.tgz",
"integrity": "sha1-gdgm9F+pyLIBH0zXoP5ZfSQdRCs="
},
"safe-buffer": {
"version": "5.1.1",
"resolved": "http://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.1.tgz",
"integrity": "sha1-iTMSr2myEj3vcfV4iQAWce6yyFM="
},
"semver": {
"version": "4.3.6",
"resolved": "http://registry.npm.taobao.org/semver/download/semver-4.3.6.tgz",
"integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto="
},
"shimmer": {
"version": "1.1.0",
"resolved": "http://registry.npm.taobao.org/shimmer/download/shimmer-1.1.0.tgz",
"integrity": "sha1-l9c3cTf/u6tCVSLkKf4KqJpIizU="
},
"sntp": {
"version": "1.0.9",
"resolved": "http://registry.npm.taobao.org/sntp/download/sntp-1.0.9.tgz",
"integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=",
"requires": {
"hoek": "2.16.3"
}
},
"sqlstring": {
"version": "2.2.0",
"resolved": "http://registry.npm.taobao.org/sqlstring/download/sqlstring-2.2.0.tgz",
"integrity": "sha1-wxNcTqirzX5+50GklmqJHYak8ZE="
},
"sshpk": {
"version": "1.13.1",
"resolved": "http://registry.npm.taobao.org/sshpk/download/sshpk-1.13.1.tgz",
"integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=",
"requires": {
"asn1": "0.2.3",
"assert-plus": "1.0.0",
"bcrypt-pbkdf": "1.0.1",
"dashdash": "1.14.1",
"ecc-jsbn": "0.1.1",
"getpass": "0.1.7",
"jsbn": "0.1.1",
"tweetnacl": "0.14.5"
},
"dependencies": {
"assert-plus": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
}
}
},
"stringstream": {
"version": "0.0.5",
"resolved": "http://registry.npm.taobao.org/stringstream/download/stringstream-0.0.5.tgz",
"integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg="
},
"tough-cookie": {
"version": "2.3.2",
"resolved": "http://registry.npm.taobao.org/tough-cookie/download/tough-cookie-2.3.2.tgz",
"integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo=",
"requires": {
"punycode": "1.4.1"
}
},
"tunnel-agent": {
"version": "0.6.0",
"resolved": "http://registry.npm.taobao.org/tunnel-agent/download/tunnel-agent-0.6.0.tgz",
"integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
"requires": {
"safe-buffer": "5.1.1"
}
},
"tweetnacl": {
"version": "0.14.5",
"resolved": "http://registry.npm.taobao.org/tweetnacl/download/tweetnacl-0.14.5.tgz",
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
"optional": true
},
"verror": {
"version": "1.10.0",
"resolved": "http://registry.npm.taobao.org/verror/download/verror-1.10.0.tgz",
"integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
"requires": {
"assert-plus": "1.0.0",
"core-util-is": "1.0.2",
"extsprintf": "1.3.0"
},
"dependencies": {
"assert-plus": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
}
}
}
}
}
... ...