| | |
| | | prop: "videoUrl", |
| | | type: "upload", |
| | | accept: "video/mp4", |
| | | display: true, |
| | | display: false, |
| | | hide: true, |
| | | span: 24, |
| | | listType: "picture-img", |
| | |
| | | // lineHeights: ['1', '1.15', '1.6', '2', '2.5', '3'] |
| | | // },//wangEditor编辑的配置 |
| | | props: { |
| | | res: "data" |
| | | res: "data", |
| | | url: "link", |
| | | }, |
| | | }, |
| | | hide: true, |
| | |
| | | content.display = false; |
| | | videoUrl.rules = [ |
| | | { |
| | | required: true, |
| | | required: false, |
| | | message: "请选择视频", |
| | | trigger: "blur", |
| | | }, |
| | |
| | | } else { |
| | | videoUrl.display = false; |
| | | content.display = true; |
| | | videoUrl.rules = []; |
| | | videoUrl.rules = ""; |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | methods: { |
| | | rowSave(row, done, loading) { |
| | | if ( row.videoUrl.length == 0){ |
| | | row.videoUrl = ""; |
| | | } |
| | | add(row).then( |
| | | () => { |
| | | this.onLoad(this.page); |
| | |
| | | // target: 'http://192.168.0.114:82/', |
| | | // target: 'http://192.168.0.111:83/', |
| | | //target: 'http://localhost:82/', |
| | | //target: 'http://223.82.109.183:2082/api/', |
| | | target: 'http://localhost:83/', |
| | | target: 'http://223.82.109.183:2082/api/', |
| | | //target: 'http://localhost:83/', |
| | | //target: 'https://web.byisf.com/api/', |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | //target: 'https://saber.bladex.vip/api', |