Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
schedule
Commits
71b5549a
Commit
71b5549a
authored
May 11, 2020
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 增加oss 是否展示的配置
parent
b842b42d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
config.js
config.js
+8
-0
meetingDetail.axml
pages/meetingDetail/meetingDetail.axml
+1
-1
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+3
-1
No files found.
config.js
View file @
71b5549a
export
const
globalUrl
=
"https://gateway-beta.mingwork.com"
;
export
const
globalUrl2
=
"https://third-authentication-beta.mingwork.com"
;
/*
isShowOss 控制oss上传是否展示
true 展示
false 不能展示
测试环境为 true
线上环境为 false
*/
export
const
isShowOss
=
true
pages/meetingDetail/meetingDetail.axml
View file @
71b5549a
...
...
@@ -190,7 +190,7 @@
<view onTap="addMeetingFile">
<text class="iconfont iconicon_data"></text>文件
</view>
<view onTap="addOssFile">
<view onTap="addOssFile"
a:if="{{isShowOss}}"
>
<text class="iconfont iconicon_data"></text>
<view>
oss
...
...
pages/meetingDetail/meetingDetail.js
View file @
71b5549a
...
...
@@ -6,6 +6,7 @@ import { getOssPermission, getuploadResource, isParticipate, deleteSchedule, get
import
{
throttle
,
getCreateShowTime
,
getRndInteger
}
from
'./../../utils/utils.js'
import
{
observer
}
from
'/utils/observer.js'
import
{
resolve
}
from
'path'
;
import
{
isShowOss
}
from
'../../config.js'
;
create
.
Page
({
store
:
pageStore
,
useAll
:
true
,
...
...
@@ -109,7 +110,8 @@ create.Page({
confirmAttendance
:
null
,
isExpand
:
false
,
placeholder
:
''
,
mrReserveStatus
:
''
mrReserveStatus
:
''
,
isShowOss
:
isShowOss
},
onShow
()
{
// this.conflictPeople()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment