Commit 9a407488 by 万亚飞

fix

parent b207001c
......@@ -99,7 +99,6 @@ module.exports = {
},
{
test: /\.(jpg|jpeg|bmp|svg|png|webp|gif)$/,
use: [
{
loader: 'url-loader',
......@@ -160,17 +159,17 @@ module.exports = {
minifyURLs: true
}
}),
new PreloadWebpackPlugin({
rel: 'preload',
as(entry) {
if (/\.css$/.test(entry)) return 'style';
if (/\.woff$/.test(entry)) return 'font';
if (/\.png$/.test(entry)) return 'image';
return 'script';
},
include: 'allChunks'
//include: ['app']
}),
// new PreloadWebpackPlugin({
// rel: 'preload',
// as(entry) {
// if (/\.css$/.test(entry)) return 'style';
// if (/\.woff$/.test(entry)) return 'font';
// if (/\.png$/.test(entry)) return 'image';
// return 'script';
// },
// include: 'allChunks'
// //include: ['app']
// }),
new webpack.NamedModulesPlugin(),
// new WorkboxPlugin.GenerateSW({
// clientsClaim: true,
......
......@@ -6,6 +6,7 @@ import storage from '@/utils/storage.plugin';
import { PhotoSwipeGallery } from 'react-photoswipe';
import * as qiniu from 'qiniu-js';
import API from './api';
import 'react-photoswipe/lib/photoswipe.css';
class UpLoad extends Component {
state = {
......
......@@ -766,6 +766,9 @@ textarea::placeholder {
margin-top: -5px;
right: 0;
}
.train-warp .am-list-item .am-list-line .am-list-extra:after {
right: 15px;
}
.yui-cell:after {
content: ' ';
position: absolute;
......
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