Commit ae97d638 by fengzhaoyu

fix:去掉oss文件上传线上测试环境的配置

parent cdd8a126
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
......@@ -203,7 +203,7 @@
<text class="iconfont iconicon_task1"></text>任务
</view>
<!--<view onTap="addMeetingFile"><text class="iconfont iconicon_data"></text>文件</view> -->
<view onTap="addOssFile" a:if="{{isShowOss}}">
<view onTap="addOssFile">
<text class="iconfont iconicon_data"></text>
<view>
文件
......
......@@ -6,7 +6,6 @@ import { getOssPermission, getuploadResource, isParticipate, deleteSchedule, get
import { throttle, getCreateShowTime } from './../../utils/utils.js'
import { observer } from '/utils/observer.js'
import { resolve } from 'path';
import { isShowOss } from '../../config.js';
import { getFileInfoFromOss } from './uploadFile';
import { comShareData } from './const.js';
create.Page({
......@@ -114,7 +113,6 @@ create.Page({
isExpand: false,
placeholder: '',
mrReserveStatus: '',
isShowOss: isShowOss
},
onShow() {
// this.conflictPeople()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment