From 90a0dc8d725166878cb649425c117c409a9c8f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E8=90=BD=28YangLei=29?= Date: Wed, 30 Jun 2021 17:50:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=84=E4=BB=B6=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/index.js | 3 +- src/components/table/my_item.vue | 5 +-- src/pages/system/view/log/login_log/index.vue | 42 ++++++++++++------- .../view/organization/usermanagement/User.vue | 14 +++---- src/pages/user/components/info.vue | 1 - src/plugins/index.js | 3 +- 6 files changed, 38 insertions(+), 30 deletions(-) diff --git a/src/components/index.js b/src/components/index.js index 56558a0..3f08fbf 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -1,5 +1,6 @@ import Table from './table/index.vue'; import WhiteCard from './white_card/index.vue'; import Upload from './upload/index.vue'; +import MyFormItem from './table/my_item.vue'; -export { Table, WhiteCard, Upload }; +export { Table, WhiteCard, Upload, MyFormItem }; diff --git a/src/components/table/my_item.vue b/src/components/table/my_item.vue index 398a178..640d360 100644 --- a/src/components/table/my_item.vue +++ b/src/components/table/my_item.vue @@ -1,7 +1,7 @@ @@ -16,6 +16,3 @@ export default { }, }; - - \ No newline at end of file diff --git a/src/pages/system/view/log/login_log/index.vue b/src/pages/system/view/log/login_log/index.vue index 74a7dc4..02a2f44 100644 --- a/src/pages/system/view/log/login_log/index.vue +++ b/src/pages/system/view/log/login_log/index.vue @@ -1,30 +1,40 @@ @@ -31,10 +31,10 @@ \ No newline at end of file + diff --git a/src/pages/user/components/info.vue b/src/pages/user/components/info.vue index 001d4bb..b1d6157 100644 --- a/src/pages/user/components/info.vue +++ b/src/pages/user/components/info.vue @@ -53,7 +53,6 @@ export default { }, watch: { '$store.state.userInfo'(userInfo) { - console.log('userInfo'); this.form.userName = userInfo.userName; this.form.fixedPhone = userInfo.fixedPhone; this.form.mobilePhone = userInfo.mobilePhone; diff --git a/src/plugins/index.js b/src/plugins/index.js index e901994..7353a29 100644 --- a/src/plugins/index.js +++ b/src/plugins/index.js @@ -1,7 +1,7 @@ import VueI18nPlugin from './vueI18nPlugin'; import AuthorityPlugin from './authorityPlugin'; import TabsPagePlugin from './tabsPagePlugin'; -import { Table, WhiteCard, Upload } from '@/components'; +import { Table, WhiteCard, Upload, MyFormItem } from '@/components'; const Plugins = { install: function(Vue) { @@ -11,6 +11,7 @@ const Plugins = { Vue.component('my-table', Table); Vue.component('my-card', WhiteCard); Vue.component('my-upload', Upload); + Vue.component('my-form-item', MyFormItem); }, }; export default Plugins; -- GitLab