Commit b207001c by 万亚飞

fix

parent bc1342f7
...@@ -68,7 +68,16 @@ module.exports = { ...@@ -68,7 +68,16 @@ module.exports = {
}, },
{ {
test: /\.(css)$/, test: /\.(css)$/,
loader: 'css-loader' use: [
MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: {
modules: false,
localIdentName: 'css/[local]--[hash:base64:5]'
}
}
]
}, },
{ {
test: /\.(less)$/, test: /\.(less)$/,
......
...@@ -6,7 +6,6 @@ import storage from '@/utils/storage.plugin'; ...@@ -6,7 +6,6 @@ import storage from '@/utils/storage.plugin';
import { PhotoSwipeGallery } from 'react-photoswipe'; import { PhotoSwipeGallery } from 'react-photoswipe';
import * as qiniu from 'qiniu-js'; import * as qiniu from 'qiniu-js';
import API from './api'; import API from './api';
import '@/static/styles/photoswipe.css';
class UpLoad extends Component { class UpLoad extends Component {
state = { state = {
......
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