Skip to content

Commit 4582b94

Browse files
committed
webpack-theme-color-replacer兼容IE
1 parent 8f76001 commit 4582b94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"opencollective-postinstall": "^2.0.2",
5757
"vue-svg-icon-loader": "^2.1.1",
5858
"vue-template-compiler": "^2.5.22",
59-
"webpack-theme-color-replacer": "^1.1.3"
59+
"webpack-theme-color-replacer": "^1.1.4"
6060
},
6161
"eslintConfig": {
6262
"root": true,

src/components/SettingDrawer/themeColor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default {
2020
oldColors: this.getAntdSerials(lastColor), // current colors array. The same as `matchColors`
2121
newColors: this.getAntdSerials(newColor) // new colors array, one-to-one corresponde with `oldColors`
2222
}
23-
var promise = client.changer.changeColor(options)
23+
var promise = client.changer.changeColor(options, Promise)
2424
this.lastColor = lastColor
2525
return promise
2626
}

0 commit comments

Comments
 (0)