From 681263a3fd23548850266af7cdddca44d2a299d7 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 01 Sep 2021 13:10:52 +0800
Subject: [PATCH] 问题修复
---
src/views/article/article.vue | 12 ++++++++----
vue.config.js | 4 ++--
public/app/qfqk.apk | 0
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/public/app/qfqk.apk b/public/app/qfqk.apk
index 7ecdb36..25d100c 100644
--- a/public/app/qfqk.apk
+++ b/public/app/qfqk.apk
Binary files differ
diff --git a/src/views/article/article.vue b/src/views/article/article.vue
index 7a8798a..f714693 100644
--- a/src/views/article/article.vue
+++ b/src/views/article/article.vue
@@ -209,7 +209,7 @@
prop: "videoUrl",
type: "upload",
accept: "video/mp4",
- display: true,
+ display: false,
hide: true,
span: 24,
listType: "picture-img",
@@ -228,7 +228,8 @@
// lineHeights: ['1', '1.15', '1.6', '2', '2.5', '3']
// },//wangEditor编辑的配置
props: {
- res: "data"
+ res: "data",
+ url: "link",
},
},
hide: true,
@@ -251,7 +252,7 @@
content.display = false;
videoUrl.rules = [
{
- required: true,
+ required: false,
message: "请选择视频",
trigger: "blur",
},
@@ -259,7 +260,7 @@
} else {
videoUrl.display = false;
content.display = true;
- videoUrl.rules = [];
+ videoUrl.rules = "";
}
}
},
@@ -286,6 +287,9 @@
},
methods: {
rowSave(row, done, loading) {
+ if ( row.videoUrl.length == 0){
+ row.videoUrl = "";
+ }
add(row).then(
() => {
this.onLoad(this.page);
diff --git a/vue.config.js b/vue.config.js
index 60f005a..53d4bb1 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -40,8 +40,8 @@
// 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',
--
Gitblit v1.9.3