gemercheung 4 лет назад
Родитель
Сommit
3e43d169fa
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      src/views/devices/list.vue
  2. 2 2
      src/views/system/account/account.data.ts

+ 1 - 1
src/views/devices/list.vue

@@ -138,7 +138,7 @@
           // },
           {
             field: 'searchKey',
-            label: '手机号',
+            label: '手机号(用户名)',
             component: 'Input',
             colProps: {
               span: 6,

+ 2 - 2
src/views/system/account/account.data.ts

@@ -47,13 +47,13 @@ export const columns: BasicColumn[] = [
 
 export const searchFormSchema: FormSchema[] = [
   {
-    field: 'account',
+    field: 'userName',
     label: '用户名',
     component: 'Input',
     colProps: { span: 8 },
   },
   {
-    field: 'nickname',
+    field: 'nickName',
     label: '昵称',
     component: 'Input',
     colProps: { span: 8 },