修复了禅道的一系列bug

This commit is contained in:
2025-08-09 01:21:59 +08:00
parent c1817b6255
commit f871831cbc
16 changed files with 60 additions and 45 deletions

View File

@ -12,6 +12,7 @@ Page({
sortOrders: ['升序', '降序'],
items: [], // 用于存储查询结果
role: '', // 假设初始为主管角色,可以根据实际情况动态设置
k: 1
},
// 主管名称输入
@ -175,6 +176,7 @@ Page({
onLoad(options) {
// 根据身份确定角色
const role = options.role;
this.setData({k: options.k})
if (role === 'staff') this.setData({selectedSortField: '推广人数'})
console.log('角色---->',options.role);
this.setData({ role });