|
@@ -270,8 +270,6 @@ const titleConfig = {
|
|
|
};
|
|
|
|
|
|
let validNum = (rule, value, callback) => {
|
|
|
- console.log(value)
|
|
|
- console.log(typeof value)
|
|
|
if (typeof value == 'string' || value == null) {
|
|
|
callback(new Error('请输入显示时长'))
|
|
|
} else if (value < 0) {
|
|
@@ -442,7 +440,6 @@ export default {
|
|
|
this.getList();
|
|
|
this.addQuillTitle();
|
|
|
const query = this.$route.query
|
|
|
- console.log(query)
|
|
|
this.type = query.type;
|
|
|
this.pageType = query.pageType;
|
|
|
// this.form.type
|
|
@@ -660,7 +657,7 @@ export default {
|
|
|
};
|
|
|
const isImage = imageType[file.type];
|
|
|
const isLt2M = file.size / 1024 / 1024 < 2;
|
|
|
- console.log(isImage, isLt2M)
|
|
|
+ // console.log(isImage, isLt2M)
|
|
|
if (!isImage) {
|
|
|
this.$message.error("只能上传图片格式!");
|
|
|
}
|