删除不再使用的添加用户页面路由配置和界面跳转逻辑,简化代码结构
@@ -242,14 +242,6 @@
}
},
{
- "path": "addusers",
- "style": {
- "navigationBarTitleText": "增加用户",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
- },
- {
"path": "changepasswold",
"style": {
"navigationBarTitleText": "更改密码",
@@ -25,9 +25,6 @@
</view>
- <!-- <view class="addindent" @click="clickRight">
- 新 增 用 户
- </view> -->
<view class="top" v-if="isTop" @click="top">
<image :src="$imageURL+'/bigdata_app'+'/image/6209a98f0cb3b5086f2ca36152c9269.png'"
mode=""></image>
@@ -95,18 +92,6 @@
})
- clickRight() { //跳转增加用户页面
- if (this.addtf) {
- uni.navigateTo({
- url: './addusers',
- })
- } else {
- uni.showToast({
- title: "您暂无权限进行此操作,如有需要,请联系管理员",
- icon: "none"
clickLeft() {
uni.switchTab({
url: "../../index/index"