Skip to content

Commit

Permalink
#25 火狐浏览器兼容
Browse files Browse the repository at this point in the history
  • Loading branch information
gier.cai committed Mar 1, 2019
1 parent 1adea88 commit 64a686f
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
1 change: 1 addition & 0 deletions pallas-console-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"element-ui": "1.4.10",
"font-awesome": "^4.7.0",
"moment": "^2.18.1",
"promise.prototype.finally": "^3.1.0",
"vue": "2.4.2",
"vue-router": "^2.3.1",
"vuex": "^3.0.1"
Expand Down
2 changes: 2 additions & 0 deletions pallas-console-web/src/utils/request.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import axios from 'axios';
import message from './message';

require('promise.prototype.finally').shim();

axios.defaults.baseURL = '/pallas';

let showError = false;
Expand Down
63 changes: 62 additions & 1 deletion pallas-console-web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,12 @@ deepmerge@^1.2.0:
version "1.5.2"
resolved "http://registry.npm.taobao.org/deepmerge/download/deepmerge-1.5.2.tgz#10499d868844cdad4fee0842df8c7f6f0c95a753"

define-properties@^1.1.2:
version "1.1.3"
resolved "http://registry.npm.taobao.org/define-properties/download/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
dependencies:
object-keys "^1.0.12"

define-property@^0.2.5:
version "0.2.5"
resolved "http://registry.npm.taobao.org/define-property/download/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116"
Expand Down Expand Up @@ -1880,6 +1886,25 @@ error-stack-parser@^1.3.6:
dependencies:
stackframe "^0.3.1"

es-abstract@^1.9.0:
version "1.13.0"
resolved "http://registry.npm.taobao.org/es-abstract/download/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9"
dependencies:
es-to-primitive "^1.2.0"
function-bind "^1.1.1"
has "^1.0.3"
is-callable "^1.1.4"
is-regex "^1.0.4"
object-keys "^1.0.12"

es-to-primitive@^1.2.0:
version "1.2.0"
resolved "http://registry.npm.taobao.org/es-to-primitive/download/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377"
dependencies:
is-callable "^1.1.4"
is-date-object "^1.0.1"
is-symbol "^1.0.2"

es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14:
version "0.10.46"
resolved "http://registry.npm.taobao.org/es5-ext/download/es5-ext-0.10.46.tgz#efd99f67c5a7ec789baa3daa7f79870388f7f572"
Expand Down Expand Up @@ -2521,6 +2546,10 @@ has-flag@^3.0.0:
version "3.0.0"
resolved "http://registry.npm.taobao.org/has-flag/download/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"

has-symbols@^1.0.0:
version "1.0.0"
resolved "http://registry.npm.taobao.org/has-symbols/download/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"

has-unicode@^2.0.0:
version "2.0.1"
resolved "http://registry.npm.taobao.org/has-unicode/download/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
Expand Down Expand Up @@ -2552,7 +2581,7 @@ has-values@^1.0.0:
is-number "^3.0.0"
kind-of "^4.0.0"

has@^1.0.1:
has@^1.0.1, has@^1.0.3:
version "1.0.3"
resolved "http://registry.npm.taobao.org/has/download/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
dependencies:
Expand Down Expand Up @@ -2828,6 +2857,10 @@ is-builtin-module@^1.0.0:
dependencies:
builtin-modules "^1.0.0"

is-callable@^1.1.4:
version "1.1.4"
resolved "http://registry.npm.taobao.org/is-callable/download/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"

is-data-descriptor@^0.1.4:
version "0.1.4"
resolved "http://registry.npm.taobao.org/is-data-descriptor/download/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
Expand All @@ -2840,6 +2873,10 @@ is-data-descriptor@^1.0.0:
dependencies:
kind-of "^6.0.0"

is-date-object@^1.0.1:
version "1.0.1"
resolved "http://registry.npm.taobao.org/is-date-object/download/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"

is-descriptor@^0.1.0:
version "0.1.6"
resolved "http://registry.npm.taobao.org/is-descriptor/download/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca"
Expand Down Expand Up @@ -2974,6 +3011,12 @@ is-property@^1.0.0, is-property@^1.0.2:
version "1.0.2"
resolved "http://registry.npm.taobao.org/is-property/download/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84"

is-regex@^1.0.4:
version "1.0.4"
resolved "http://registry.npm.taobao.org/is-regex/download/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
dependencies:
has "^1.0.1"

is-relative@^0.2.1:
version "0.2.1"
resolved "http://registry.npm.taobao.org/is-relative/download/is-relative-0.2.1.tgz#d27f4c7d516d175fb610db84bbeef23c3bc97aa5"
Expand All @@ -2990,6 +3033,12 @@ is-svg@^2.0.0:
dependencies:
html-comment-regex "^1.1.0"

is-symbol@^1.0.2:
version "1.0.2"
resolved "http://registry.npm.taobao.org/is-symbol/download/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
dependencies:
has-symbols "^1.0.0"

is-unc-path@^0.1.1:
version "0.1.2"
resolved "http://registry.npm.taobao.org/is-unc-path/download/is-unc-path-0.1.2.tgz#6ab053a72573c10250ff416a3814c35178af39b9"
Expand Down Expand Up @@ -3651,6 +3700,10 @@ object-hash@^1.1.4:
version "1.3.1"
resolved "http://registry.npm.taobao.org/object-hash/download/object-hash-1.3.1.tgz#fde452098a951cb145f039bb7d455449ddc126df"

object-keys@^1.0.12:
version "1.1.0"
resolved "http://registry.npm.taobao.org/object-keys/download/object-keys-1.1.0.tgz#11bd22348dd2e096a045ab06f6c85bcc340fa032"

object-visit@^1.0.0:
version "1.0.1"
resolved "http://registry.npm.taobao.org/object-visit/download/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb"
Expand Down Expand Up @@ -4221,6 +4274,14 @@ promise-inflight@^1.0.1:
version "1.0.1"
resolved "http://registry.npm.taobao.org/promise-inflight/download/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"

promise.prototype.finally@^3.1.0:
version "3.1.0"
resolved "http://registry.npm.taobao.org/promise.prototype.finally/download/promise.prototype.finally-3.1.0.tgz#66f161b1643636e50e7cf201dc1b84a857f3864e"
dependencies:
define-properties "^1.1.2"
es-abstract "^1.9.0"
function-bind "^1.1.1"

proto-list@~1.2.1:
version "1.2.4"
resolved "http://registry.npm.taobao.org/proto-list/download/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"
Expand Down

0 comments on commit 64a686f

Please sign in to comment.