Commit 4d0d652a authored by FE-安焕焕's avatar FE-安焕焕 👣

修改sonvccChannel的取值

parent db402b7c
This diff is collapsed.
{
"name": "@qg/ui-request",
"version": "0.0.8",
"version": "0.0.15",
"description": "axios策略请求封装",
"main": "dist/index.js",
"scripts": {
......
......@@ -11,6 +11,9 @@ function getURLSearchParams(json) {
}
function getVccChannel(channelKey = 'vccChannel') {
if(channelKey === 'sonVccChannel') {
return localStorage.get(channelKey) || '';
}
return isWechat
? localStorage.get(channelKey) || ''
: (isAndroid ? '159905' : isIOS ? '159904' : localStorage.get(channelKey)) || '';
......
......@@ -2694,7 +2694,7 @@ var drawChart = (function () {
</script>
<script>
/*<!--*/
const data = {"version":1,"tree":{"name":"index.js","children":[{"name":"utils.js","uid":"31e0-1"},{"name":"localStorage.js","uid":"31e0-2"},{"name":"config.js","uid":"31e0-3"},{"name":"index.js","uid":"31e0-4"},{"name":"\u0000rollupPluginBabelHelpers.js","uid":"31e0-0"}],"renderedLength":5313,"isRoot":true},"nodes":{"31e0-0":{"renderedLength":1969,"id":"\u0000rollupPluginBabelHelpers.js"},"31e0-1":{"renderedLength":230,"id":"utils.js"},"31e0-2":{"renderedLength":634,"id":"localStorage.js"},"31e0-3":{"renderedLength":2352,"id":"config.js"},"31e0-4":{"renderedLength":5065,"isEntry":true,"id":"index.js"},"31e0-5":{"renderedLength":0,"isExternal":true,"id":"axios"}},"links":[{"source":"31e0-4","target":"31e0-0"},{"source":"31e0-4","target":"31e0-5"},{"source":"31e0-4","target":"31e0-3"},{"source":"31e0-3","target":"31e0-1"},{"source":"31e0-3","target":"31e0-2"}],"env":{"rollup":"2.44.0","rollup-plugin-visualizer":"4.2.2"},"options":{"gzip":false,"brotli":false}};
const data = {"version":1,"tree":{"name":"index.js","children":[{"name":"utils.js","uid":"fd07-1"},{"name":"localStorage.js","uid":"fd07-2"},{"name":"config.js","uid":"fd07-3"},{"name":"index.js","uid":"fd07-4"},{"name":"\u0000rollupPluginBabelHelpers.js","uid":"fd07-0"}],"renderedLength":5333,"isRoot":true},"nodes":{"fd07-0":{"renderedLength":1969,"id":"\u0000rollupPluginBabelHelpers.js"},"fd07-1":{"renderedLength":230,"id":"utils.js"},"fd07-2":{"renderedLength":634,"id":"localStorage.js"},"fd07-3":{"renderedLength":2445,"id":"config.js"},"fd07-4":{"renderedLength":5065,"isEntry":true,"id":"index.js"},"fd07-5":{"renderedLength":0,"isExternal":true,"id":"axios"}},"links":[{"source":"fd07-4","target":"fd07-0"},{"source":"fd07-4","target":"fd07-5"},{"source":"fd07-4","target":"fd07-3"},{"source":"fd07-3","target":"fd07-1"},{"source":"fd07-3","target":"fd07-2"}],"env":{"rollup":"2.44.0","rollup-plugin-visualizer":"4.2.2"},"options":{"gzip":false,"brotli":false}};
const run = () => {
const width = window.innerWidth;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment