af-mobile-client-vue3 1.0.79 → 1.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.0.79",
4
+ "version": "1.0.81",
5
5
  "description": "Vue + Vite component lib",
6
6
  "license": "MIT",
7
7
  "engines": {
@@ -58,6 +58,9 @@ function resetOption() {
58
58
  currentOrderVal.value = undefined
59
59
  currentSortordVal.value = undefined
60
60
  // 条件参数
61
+ Object.keys(conditionParams.value).forEach((key) => {
62
+ conditionParams.value[key] = undefined
63
+ })
61
64
  }
62
65
  function checkOrderOption() {
63
66
  let isCheck = true
@@ -23,6 +23,7 @@ export interface UserInfo {
23
23
  name: string
24
24
  avatar: string
25
25
  functions: Array<any>
26
+ rolestr: string
26
27
  }
27
28
 
28
29
  interface IUserState {
@@ -153,6 +153,7 @@ function afterGeneral(result) {
153
153
  name: result.name,
154
154
  avatar: result.avatar ? result.avatar : setting.getSetting()?.defaultAvatarUrl,
155
155
  functions: result.functions,
156
+ rolestr: result.rolestr,
156
157
  }
157
158
  userState.setUserInfo(user)
158
159
  userState.setPermissions([{ id: 'queryForm', operation: ['add', 'edit'] }])