Commit d8f63e11 authored by 楼国栋's avatar 楼国栋 🏄🏿

调整演示账号

parent 35754261
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"version": "0.0",
"configurations": [{
"type": "uniCloud",
"default": {
"launchtype": "local"
}
}
]
}
......@@ -41,7 +41,9 @@
]
},
/* ios打包配置 */
"ios" : {},
"ios" : {
"idfa" : false
},
/* SDK配置 */
"sdkConfigs" : {}
}
......@@ -67,5 +69,8 @@
},
"uniStatistics" : {
"enable" : false
},
"h5" : {
"title" : "o2oa-uni"
}
}
......@@ -24,10 +24,10 @@
<button class="login-btn" @click="login">登录</button>
<view class="login-demo-area" v-if="isSample">
<view >体验账号:</view>
<view class="demo-people-link" @click="demoLogin(1)">开发人员1</view>
<view class="demo-people-link" @click="demoLogin(2)">办公室机要</view>
<view class="demo-people-link" @click="demoLogin(3)">办公室初核</view>
<view class="demo-people-link" @click="demoLogin(4)">办公室主任</view>
<view class="demo-people-link" @click="demoLogin(1)">开发部经理</view>
<view class="demo-people-link" @click="demoLogin(2)">开发部员工2</view>
<view class="demo-people-link" @click="demoLogin(3)">财务部员工1</view>
<!-- <view class="demo-people-link" @click="demoLogin(4)">办公室主任</view> -->
</view>
</view>
......@@ -225,19 +225,19 @@
switch(index) {
case 1:
param = {
credential: 'kf1',
credential: '开发部经理',
password: 'o2'
}
break
case 2:
param = {
credential:'办公室机要',
credential:'开发部员工2',
password: 'o2'
}
break
case 3:
param = {
credential:'办公室初核',
credential:'财务部员工1',
password: 'o2'
}
break
......
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