diff --git a/src/components/index.js b/src/components/index.js index 56558a00b33c54bed3150562401126801376e23d..3f08fbfc86a9d45ac7da8ff14a51c69def9822fd 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 398a17818de8bbe87cdfbe6f8bd703aaf0e59ba3..640d360674dc8b1e70830e1fe0ba67d31c387dcf 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 74a7dc47cd42a5b0fbe5e6613b1ad60fc3f9e498..02a2f44dd368afd6f52a606ff845e2aab93a1594 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 001d4bb0a17798b4494fcdfd91c4d2b9e8ba4e5d..b1d615729eee5005f920e731e9b76e934c02462f 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 e9019944a3a6c10346a534c250bdb6fa15ab3a34..7353a29cbcc1724591de9a5e8285685615373c15 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;