浏览代码

前端 小程序 sdy

zhongtianhaoyuan 3 年之前
父节点
当前提交
bbe4363f34
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 0 1
      common/helper.js
  2. 2 1
      pages/erpbusiness/quality_testing.vue

+ 0 - 1
common/helper.js

@@ -10,7 +10,6 @@ const isArray = Array.isArray || function (obj) {
     return obj instanceof Array;  
 };  
 const getListByUserId = function(){
-	debugger
 	let baseUrlNew = config.def().baseUrlNew
 	uni.request({
 	    url: baseUrlNew + '/roleMenu/query/getListByUserId',

+ 2 - 1
pages/erpbusiness/quality_testing.vue

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