Pre Merge pull request !4 from 水王/CH/fix/animation
This commit is contained in:
commit
5ad1389f7b
|
|
@ -101,7 +101,7 @@ export default {
|
|||
}
|
||||
const match = context.resourcePath.match(/src(.*)/);
|
||||
if (match && match[1]) {
|
||||
const antdProPath = match[1].replace('.less', '');
|
||||
const antdProPath = match[1].replace('.less', '').replace('.css', '').replace('.scss', '').replace('sass', '');
|
||||
const arr = slash(antdProPath)
|
||||
.split('/')
|
||||
.map(a => a.replace(/([A-Z])/g, '-$1'))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user