Commit 33da04d1 authored by 黄奎's avatar 黄奎

页面修改

parent 8d07cc90
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
if(this.type == 5){//视频上传 if(this.type == 5){//视频上传
// 文件类型进行判断 // 文件类型进行判断
const isLt10M = files.size / 1024 / 1024 < 10; const isLt10M = files.size / 1024 / 1024 < 10;
console.log(files)
if (['video/mp4', 'video/ogg', 'video/flv', 'video/avi', 'video/wmv', 'video/rmvb'].indexOf(files.type) == -1) { if (['video/mp4', 'video/ogg', 'video/flv', 'video/avi', 'video/wmv', 'video/rmvb'].indexOf(files.type) == -1) {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
} }
}, },
created() { created() {
console.log('进去所有页面')
}, },
methods: { methods: {
changePage(e){ changePage(e){
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
const isAudio = file.type === "audio/mp3" || file.type === "audio/mpeg"; const isAudio = file.type === "audio/mp3" || file.type === "audio/mpeg";
const isLt2M = file.size / 1024 / 1024 < 2; const isLt2M = file.size / 1024 / 1024 < 2;
const isTime60S = this.getTimes(file) >= 60 ? true : false; const isTime60S = this.getTimes(file) >= 60 ? true : false;
console.log(isTime60S)
// 获取时长 // 获取时长
; ;
if (!isAudio) { if (!isAudio) {
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
UploadSelfFile("course", file, res => { UploadSelfFile("course", file, res => {
if (res.Code == 1) { if (res.Code == 1) {
this.addMsg.img = res.FileUrl; this.addMsg.img = res.FileUrl;
console.log(res.FileUrl)
} }
}); });
} }
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
} }
}, },
created() { created() {
console.log('进去所有页面')
}, },
methods: { methods: {
changePage(e) { changePage(e) {
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
UploadSelfFile("course", file, res => { UploadSelfFile("course", file, res => {
if (res.Code == 1) { if (res.Code == 1) {
this.addMsg.img = res.FileUrl; this.addMsg.img = res.FileUrl;
console.log(res.FileUrl)
} }
}); });
}, },
......
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
this.$emit('close') this.$emit('close')
}, },
getList(){//获取数据 getList(){//获取数据
console.log('获取数据')
}, },
resetSearch(){ resetSearch(){
this.msg.pageIndex = 1; this.msg.pageIndex = 1;
......
...@@ -34,15 +34,7 @@ export default { ...@@ -34,15 +34,7 @@ export default {
msg: {} msg: {}
} }
}, },
// watch: {
// dict: {
// handler(val) {
// this.msg = val
// console.log(this.msg)
// },
// deep: true
// }
// },
created() { created() {
try { try {
if (!this.multiple) { if (!this.multiple) {
...@@ -56,9 +48,9 @@ export default { ...@@ -56,9 +48,9 @@ export default {
} }
this.msg = this.dict this.msg = this.dict
console.log(this.msg)
} catch (error) { } catch (error) {
console.log('错误', error)
} }
}, },
......
...@@ -282,7 +282,7 @@ ...@@ -282,7 +282,7 @@
selectxcx(){//图文 selectxcx(){//图文
this.isshowapplet=true; this.isshowapplet=true;
console.log(232323)
if(this.$refs.popupproxy){ if(this.$refs.popupproxy){
this.$refs.popupproxy.hide() this.$refs.popupproxy.hide()
} }
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
}, },
changeStatus(x){ changeStatus(x){
x.EditorStatus=!x.EditorStatus x.EditorStatus=!x.EditorStatus
console.log(x)
this.$forceUpdate() this.$forceUpdate()
}, },
init(){ init(){
......
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