Browse Source

更新专题图片验证

master
chenke 3 years ago
parent
commit
3f276a7eb7
  1. 8
      src/utils/get-img-width.js

8
src/utils/get-img-width.js

@ -31,6 +31,14 @@ export default function (file, id) {
width = 722;
height = 406;
break;
case 'subjectCover': //专题封面
width = 650;
height = 350;
break;
case 'subjectBanner': //专题封面
width = 1585;
height = 224;
break;
};
return new Promise(resolve => {
let reader = new FileReader();

Loading…
Cancel
Save