diff --git a/web/src/core/element_lazy.js b/web/src/core/element_lazy.js
index 597be46d156bf28b5f0088631a230180eb06a1dc..ecac4b1a36dfb40be7ce97e326384efc6ea14bf7 100644
--- a/web/src/core/element_lazy.js
+++ b/web/src/core/element_lazy.js
@@ -8,57 +8,57 @@
import Vue from 'vue'
// 按需引入element
import {
- Button,
- Select,
- Dialog,
- Form,
- Input,
- FormItem,
- Option,
- Loading,
- Message,
- Container,
- Card,
- Dropdown,
- DropdownMenu,
- DropdownItem,
- Row,
- Col,
- Menu,
- Submenu,
- MenuItem,
- Aside,
- Main,
- Badge,
- Header,
- Tabs,
- Breadcrumb,
- BreadcrumbItem,
- Scrollbar,
- Avatar,
- TabPane,
- Divider,
- Table,
- TableColumn,
- Cascader,
- Checkbox,
- CheckboxGroup,
- Pagination,
- Tag,
- Drawer,
- Tree,
- Popover,
- Switch,
- Collapse,
- CollapseItem,
- Tooltip,
- DatePicker,
- InputNumber,
- Steps,
- Upload,
- Progress,
- MessageBox,
- Image
+ Button,
+ Select,
+ Dialog,
+ Form,
+ Input,
+ FormItem,
+ Option,
+ Loading,
+ Message,
+ Container,
+ Card,
+ Dropdown,
+ DropdownMenu,
+ DropdownItem,
+ Row,
+ Col,
+ Menu,
+ Submenu,
+ MenuItem,
+ Aside,
+ Main,
+ Badge,
+ Header,
+ Tabs,
+ Breadcrumb,
+ BreadcrumbItem,
+ Scrollbar,
+ Avatar,
+ TabPane,
+ Divider,
+ Table,
+ TableColumn,
+ Cascader,
+ Checkbox,
+ CheckboxGroup,
+ Pagination,
+ Tag,
+ Drawer,
+ Tree,
+ Popover,
+ Switch,
+ Collapse,
+ CollapseItem,
+ Tooltip,
+ DatePicker,
+ InputNumber,
+ Steps,
+ Upload,
+ Progress,
+ MessageBox,
+ Image
} from 'element-ui'
Vue.use(Button)
@@ -116,4 +116,4 @@ Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
Dialog.props.closeOnClickModal.default = false
-console.warn('[GIN-VUE-ADMIN]--按需加载elementUI成功')
\ No newline at end of file
+console.warn('[GIN-VUE-ADMIN]--按需加载elementUI成功,如出现element-ui组件无法使用问题,请至/src/core/element_lazy 下引入对应组件即可')
diff --git a/web/src/core/gin-vue-admin.js b/web/src/core/gin-vue-admin.js
index 049cf288375b840d6c3005d11139ba053867846b..2b5f178c53bc49cea967dd3a486d263cec8b2a73 100644
--- a/web/src/core/gin-vue-admin.js
+++ b/web/src/core/gin-vue-admin.js
@@ -3,7 +3,7 @@
*
* */
import Vue from 'vue'
-import './element_lazy'
+import './element_lazy' // 按需加载element
import uploader from 'vue-simple-uploader'
import APlayer from '@moefe/vue-aplayer'
// time line css
@@ -12,8 +12,8 @@ import '../../node_modules/timeline-vuejs/dist/timeline-vuejs.css'
import Bus from '@/utils/bus'
Vue.use(Bus)
Vue.use(APlayer, {
- defaultCover: 'https://github.com/u3u.png',
- productionTip: true
+ defaultCover: 'https://github.com/u3u.png',
+ productionTip: true
})
Vue.use(uploader)
diff --git a/web/src/main.js b/web/src/main.js
index 3fd776fde3d09326d6fd582cbdae9bec82acabf8..be58a12eb3c05f193e64b028e930c8cb6b85f2a0 100644
--- a/web/src/main.js
+++ b/web/src/main.js
@@ -1,6 +1,6 @@
import Vue from 'vue'
import App from './App.vue'
-// 引入gin-vue-admin前端组件
+// 引入gin-vue-admin前端初始化相关内容
import './core/gin-vue-admin'
// 引入封装的router
import router from '@/router/index'
diff --git a/web/src/view/systemTools/autoCode/component/previewCodeDialg.vue b/web/src/view/systemTools/autoCode/component/previewCodeDialg.vue
index 5db008f4ad620d721136d7547d59059dde174c53..0664bfb9362c0d46ffd9006e1010ad56fe5be0f4 100644
--- a/web/src/view/systemTools/autoCode/component/previewCodeDialg.vue
+++ b/web/src/view/systemTools/autoCode/component/previewCodeDialg.vue
@@ -6,60 +6,37 @@
复制
-
-
+
+