|
@@ -203,6 +203,8 @@
|
|
this.managementType=options.managementType
|
|
this.managementType=options.managementType
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
|
|
+ this.pageSize = 10
|
|
|
|
+ this.currentPage = 1
|
|
var that = this
|
|
var that = this
|
|
if(this.cangid){
|
|
if(this.cangid){
|
|
uni.setStorageSync("cangid",this.cangid)
|
|
uni.setStorageSync("cangid",this.cangid)
|
|
@@ -241,7 +243,6 @@
|
|
methods: {
|
|
methods: {
|
|
//获取当前按钮权限
|
|
//获取当前按钮权限
|
|
getRoles: function(role) {
|
|
getRoles: function(role) {
|
|
- debugger
|
|
|
|
let _roles = uni.getStorageSync('rolesList')
|
|
let _roles = uni.getStorageSync('rolesList')
|
|
for (let i = 0; i < _roles.length; i++) {
|
|
for (let i = 0; i < _roles.length; i++) {
|
|
if (_roles[i] == role) {
|
|
if (_roles[i] == role) {
|