This commit is contained in:
yangduo 2024-07-26 16:36:58 +08:00
parent fdec408674
commit 1eaf1f1d51
4 changed files with 9 additions and 6 deletions

View File

@ -2,5 +2,5 @@
ENV = 'development'
# base api
VUE_APP_BASE_API = 'http://adminapi-test.kingsome.cn/api/v1'
VUE_APP_BASE_API = 'https://adminapi-test.kingsome.cn/api/v1'
#VUE_APP_BASE_API = '/dev-api'

View File

@ -4,5 +4,6 @@ NODE_ENV = production
ENV = 'staging'
# base api
VUE_APP_BASE_API = '/stage-api'
#VUE_APP_BASE_API = '/stage-api'
VUE_APP_BASE_API = 'https://adminapi-test.kingsome.cn/api/v1'

View File

@ -217,7 +217,7 @@ export const asyncRoutes = [
path: 'user_group/member',
component: () => import('@/views/email/group_member'),
name: 'GroupMember',
meta: { title: '组成员' },
meta: { title: '组成员', pername: 'emailgroupmember' },
hidden: true
}
]

View File

@ -145,9 +145,11 @@ export default {
this.postForm = editEmail
let str = ''
editEmail.attachments.forEach((item) => {
str += item['itemid'] + ':' + item['itemnum'] + '\n'
})
if (editEmail.attachments != null) {
editEmail.attachments.forEach((item) => {
str += item['itemid'] + ':' + item['itemnum'] + '\n'
})
}
this.postForm.attachments = str.slice(0, -1)
this.postForm.sendtime = editEmail.sendtime * 1000
this.postForm.expiretime = editEmail.expiretime * 1000