diff --git a/.env.dev b/.env.dev
index af2fe0a..f970060 100644
--- a/.env.dev
+++ b/.env.dev
@@ -12,7 +12,7 @@ VITE_ROUTER_BASE=/
VITE_ROUTER_HISTORY=hash
# api
-VITE_API_BASIC=http://10.10.1.6:8070
+VITE_API_BASIC=https://zh.shibeitong.com
VITE_API_HTTP=/api/v1/
# storage
VITE_STORAGE_NAMESPACE = gin-admin_local_
\ No newline at end of file
diff --git a/src/locales/lang/zh-CN/pages.js b/src/locales/lang/zh-CN/pages.js
index cfec625..f0c388d 100644
--- a/src/locales/lang/zh-CN/pages.js
+++ b/src/locales/lang/zh-CN/pages.js
@@ -57,7 +57,7 @@ export default {
// role
'pages.system.role.add': '添加角色',
'pages.system.role.edit': '编辑角色',
- 'pages.system.role.delTip': '确定删除该角色吗?',
+ 'pages.system.role.delTip': '确定删除该条项目?',
'pages.system.role.form.code': '编码',
'pages.system.role.form.code.placeholder': '请输入编码',
'pages.system.role.form.code.required': '编码是必填项!',
diff --git a/src/views/activity/components/EditDialog.vue b/src/views/activity/components/EditDialog.vue
index be449f0..f82edba 100644
--- a/src/views/activity/components/EditDialog.vue
+++ b/src/views/activity/components/EditDialog.vue
@@ -69,8 +69,7 @@
-
+
@@ -91,6 +90,7 @@ import { useI18n } from 'vue-i18n'
import dayjs from 'dayjs'
import GxUpload from '@/components/GxUpload/index.vue'
import { customersEnum, areaEnum } from "@/enums/useEnum"
+import {spliceUrl} from "@/utils/util"
const emit = defineEmits(['ok'])
const { t } = useI18n() // 解构出t方法
const { modal, showModal, hideModal, showLoading, hideLoading } = useModal()
@@ -191,8 +191,8 @@ function handleOk() {
showLoading()
const params = {
...values,
- cover: fileList.value[0],
- images:[...fileList.value]
+ cover:spliceUrl(formData.value.fileList[0]),
+ images:formData.value.fileList?formData.value.fileList.map(item=>spliceUrl(item)):[]
}
let result = null
switch (modal.value.type) {
diff --git a/src/views/announcement/announcementList/index.vue b/src/views/announcement/announcementList/index.vue
index eb14ca4..a5aedf8 100644
--- a/src/views/announcement/announcementList/index.vue
+++ b/src/views/announcement/announcementList/index.vue
@@ -79,13 +79,6 @@
{{ areaEnum.getName(record.areaId) }}
-
-
-
- {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm:ss') }}
-
-
-
{{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm:ss') }}
@@ -187,7 +180,7 @@ function handleRemove({ id }) {
return new Promise((resolve, reject) => {
; (async () => {
try {
- const { success } = await apis.role.delRole(id).catch(() => {
+ const { success } = await apis.announcement.delNotices(id).catch(() => {
throw new Error()
})
if (config('http.code.success') === success) {