diff --git a/.env.dev b/.env.dev
index bb781b0..bcb46e7 100644
--- a/.env.dev
+++ b/.env.dev
@@ -12,8 +12,8 @@ VITE_ROUTER_BASE=/
VITE_ROUTER_HISTORY=hash
# api
-VITE_API_BASIC=https://api.hailin-keji.com
-#VITE_API_BASIC=http://10.10.1.6:8060
+#VITE_API_BASIC=https://api.hailin-keji.com
+VITE_API_BASIC=http://10.10.1.6:8060
VITE_API_HTTP=/api/v1/
# storage
VITE_STORAGE_NAMESPACE = gin-admin_local_
diff --git a/src/views/dynamic/videoCenter/index.vue b/src/views/dynamic/videoCenter/index.vue
index 1df2d0a..b66973d 100644
--- a/src/views/dynamic/videoCenter/index.vue
+++ b/src/views/dynamic/videoCenter/index.vue
@@ -94,23 +94,23 @@
-
-
-
-
-
-
+
+
@@ -243,6 +243,7 @@ async function onOk() {
const dialogVisible = ref(false)
const currentVideoUrl = ref('')
+const previewVideoRef = ref(null)
// 预览处理
const handlePreview = (videoUrl) => {
@@ -256,9 +257,76 @@ const handlePreview = (videoUrl) => {
// 关闭处理
const handleClose = () => {
+ if (previewVideoRef.value) {
+ previewVideoRef.value.pause()
+ previewVideoRef.value.currentTime = 0
+ }
currentVideoUrl.value = ''
dialogVisible.value = false
}
-
+
diff --git a/src/views/websiteRelated/contactUs/index.vue b/src/views/websiteRelated/contactUs/index.vue
index 6fde732..f7c0e53 100644
--- a/src/views/websiteRelated/contactUs/index.vue
+++ b/src/views/websiteRelated/contactUs/index.vue
@@ -114,8 +114,8 @@ async function getPageList() {
reportNum.value = res.data.reportNum
socialMedia.value = Array.isArray(res.data.socialMedia) ? res.data.socialMedia : []
//console.log(affirm.value)
- console.log(id.value)
- console.log(res.data)
+ console.log("web-Id:",id.value)
+ console.log('webData',res.data)
}
} catch (e) {
message.error('获取声明内容失败')
@@ -129,6 +129,8 @@ async function getPageList() {
async function handleSearch() {
try {
showLoading()
+ console.log("id.value:", id.value)
+
await apis.webSite.updateWebData(id.value, {
affirm: affirm.value,
reportContent: reportContent.value,