From 6063b3f627d49ffdb36c6fdc4d6f96e8c132862c Mon Sep 17 00:00:00 2001 From: 15820893422 <1978476055@qq.com> Date: Wed, 17 Apr 2024 11:16:37 +0800 Subject: [PATCH] 1 --- build/index.js | 10 +- mock/article.js | 10 +- mock/index.js | 14 +- mock/mock-server.js | 10 +- mock/remote-search.js | 10 +- mock/role/index.js | 10 +- mock/role/routes.js | 10 +- mock/user.js | 10 +- src/App.vue | 10 +- src/api/accounts.js | 12 +- src/api/app.js | 10 +- src/api/dashboard.js | 12 +- src/api/diy.js | 94 +++--- src/api/freight.js | 10 +- src/api/marketing.js | 30 +- src/api/order.js | 10 +- src/api/product.js | 10 +- src/api/request.js | 18 +- src/api/setting.js | 10 +- src/api/system.js | 16 +- src/api/systemForm.js | 38 +-- src/api/user.js | 16 +- src/assets/js/canvas-nest.min.js | 30 +- src/assets/js/jigsaw.js | 14 +- src/components/Charts/Keyboard.vue | 10 +- src/components/Charts/LineMarker.vue | 10 +- src/components/Charts/MixChart.vue | 10 +- src/components/Charts/mixins/resize.js | 10 +- src/components/SvgIcon/index.vue | 10 +- src/components/ThemePicker/index.vue | 10 +- src/components/TopNav/index.vue | 10 +- src/components/UploadExcel/index.vue | 10 +- src/components/attrFrom/index.vue | 10 +- src/components/attrList/index.vue | 10 +- src/components/breadCrumb/index.vue | 10 +- src/components/cards/index.vue | 10 +- src/components/copyright/index.vue | 10 +- src/components/couponList/index.vue | 10 +- src/components/deliveryRecord/index.vue | 10 +- src/components/exportFile/fileList.vue | 10 +- src/components/exportFile/index.vue | 10 +- src/components/from/from.vue | 10 +- src/components/goodList/index.vue | 10 +- src/components/goodsList/index.vue | 10 +- src/components/guidancePop/index.vue | 10 +- src/components/hamBurger/index.vue | 10 +- src/components/headerNotice/index.vue | 10 +- src/components/headerSearch/index.vue | 10 +- src/components/iconFrom/element-icons.js | 10 +- src/components/iconFrom/index.vue | 10 +- src/components/importGoods/goodList.vue | 10 +- src/components/importGoods/index.vue | 10 +- src/components/lazyCascader/index.vue | 10 +- src/components/linkaddress/index.vue | 10 +- src/components/map/index.js | 10 +- src/components/map/map.vue | 10 +- .../mobileConfig/c_auxiliary_box.vue | 10 +- .../mobileConfig/c_auxiliary_line.vue | 10 +- src/components/mobileConfig/c_banner.vue | 10 +- .../mobileConfig/c_home_bargain.vue | 10 +- src/components/mobileConfig/c_home_coupon.vue | 10 +- .../mobileConfig/c_home_goods_list.vue | 10 +- src/components/mobileConfig/c_home_hot.vue | 10 +- src/components/mobileConfig/c_home_menu.vue | 10 +- src/components/mobileConfig/c_home_pink.vue | 10 +- .../mobileConfig/c_home_presell.vue | 10 +- .../mobileConfig/c_home_seckill.vue | 10 +- src/components/mobileConfig/c_home_title.vue | 10 +- src/components/mobileConfig/c_home_topic.vue | 10 +- .../mobileConfig/c_picture_cube.vue | 10 +- src/components/mobileConfig/c_ueditor_box.vue | 10 +- src/components/mobileConfig/c_wechat_live.vue | 10 +- src/components/mobileConfig/index.js | 10 +- src/components/mobileConfig/pageFoot.vue | 10 +- src/components/mobileConfig/pageTitle.vue | 10 +- .../mobileConfigRight/c_bg_color.vue | 10 +- .../mobileConfigRight/c_cascader.vue | 10 +- .../mobileConfigRight/c_comb_data.vue | 10 +- .../mobileConfigRight/c_custom_menu_list.vue | 10 +- src/components/mobileConfigRight/c_foot.vue | 10 +- src/components/mobileConfigRight/c_goods.vue | 10 +- .../mobileConfigRight/c_hot_imgs.vue | 10 +- .../mobileConfigRight/c_hot_word.vue | 10 +- .../mobileConfigRight/c_input_item.vue | 10 +- .../mobileConfigRight/c_input_number.vue | 10 +- .../mobileConfigRight/c_is_show.vue | 10 +- .../mobileConfigRight/c_menu_list.vue | 20 +- .../mobileConfigRight/c_page_ueditor.vue | 10 +- .../mobileConfigRight/c_pictrue.vue | 10 +- .../mobileConfigRight/c_product.vue | 10 +- src/components/mobileConfigRight/c_radio.vue | 10 +- src/components/mobileConfigRight/c_select.vue | 10 +- .../mobileConfigRight/c_select_item.vue | 10 +- src/components/mobileConfigRight/c_set_up.vue | 10 +- src/components/mobileConfigRight/c_slider.vue | 10 +- src/components/mobileConfigRight/c_status.vue | 10 +- src/components/mobileConfigRight/c_tab.vue | 10 +- .../mobileConfigRight/c_txt_tab.vue | 10 +- .../mobileConfigRight/c_upload_img.vue | 10 +- src/components/mobileConfigRight/index.js | 10 +- .../mobileFormConfig/c_home_checkbox.vue | 10 +- .../mobileFormConfig/c_home_city.vue | 10 +- .../mobileFormConfig/c_home_date.vue | 10 +- .../mobileFormConfig/c_home_daterange.vue | 10 +- .../mobileFormConfig/c_home_radio.vue | 10 +- .../mobileFormConfig/c_home_select.vue | 10 +- .../mobileFormConfig/c_home_text.vue | 10 +- .../mobileFormConfig/c_home_time.vue | 10 +- .../mobileFormConfig/c_home_timerange.vue | 10 +- .../mobileFormConfig/c_upload_picture.vue | 10 +- src/components/mobileFormConfig/index.js | 10 +- .../mobileFormPage/home_checkbox.vue | 10 +- src/components/mobileFormPage/home_city.vue | 10 +- src/components/mobileFormPage/home_date.vue | 10 +- .../mobileFormPage/home_daterange.vue | 10 +- src/components/mobileFormPage/home_radio.vue | 10 +- src/components/mobileFormPage/home_select.vue | 10 +- src/components/mobileFormPage/home_text.vue | 10 +- src/components/mobileFormPage/home_time.vue | 10 +- .../mobileFormPage/home_timerange.vue | 10 +- .../mobileFormPage/home_upload_picture.vue | 10 +- src/components/mobileFormPage/index.js | 10 +- src/components/mobilePage/banner.vue | 10 +- src/components/mobilePage/home_bargain.vue | 10 +- src/components/mobilePage/home_coupon.vue | 10 +- src/components/mobilePage/home_goods_list.vue | 10 +- src/components/mobilePage/home_hot.vue | 10 +- src/components/mobilePage/home_menu.vue | 10 +- src/components/mobilePage/home_pink.vue | 10 +- src/components/mobilePage/home_presell.vue | 10 +- src/components/mobilePage/home_seckill.vue | 10 +- src/components/mobilePage/home_title.vue | 10 +- src/components/mobilePage/home_topic.vue | 10 +- src/components/mobilePage/index.js | 10 +- src/components/mobilePage/picture_cube.vue | 10 +- src/components/mobilePage/wechat_live.vue | 10 +- src/components/mobilePage/z_auxiliary_box.vue | 10 +- .../mobilePage/z_auxiliary_line.vue | 10 +- src/components/mobilePage/z_ueditor.vue | 10 +- src/components/pagesFoot/index.vue | 10 +- src/components/previewBox/index.vue | 10 +- src/components/rightBtn/index.vue | 10 +- src/components/rightPanel/index.vue | 10 +- src/components/screenFull/index.vue | 10 +- src/components/serviceGuarantee/index.vue | 10 +- src/components/templatesFrom/index.vue | 10 +- src/components/ueditorFrom/index.vue | 10 +- src/components/uploadImg/index.vue | 10 +- src/components/uploadPicture/index.vue | 10 +- .../uploadPicture/uploadFrom/index.js | 14 +- .../uploadPicture/uploadFrom/index.vue | 10 +- src/components/uploadVideo/index.vue | 10 +- src/components/userList/index.vue | 10 +- src/components/verifition/Verify.vue | 10 +- .../verifition/Verify/VerifyPoints.vue | 10 +- .../verifition/Verify/VerifySlide.vue | 10 +- src/components/verifition/utils/util.js | 10 +- src/components/wangEditor/editor.js | 10 +- src/components/wangEditor/html.js | 10 +- src/components/wangEditor/index.vue | 10 +- src/components/wangEditor/monaco.vue | 10 +- src/filters/commFilter.js | 12 +- src/filters/index.js | 10 +- src/icons/index.js | 10 +- src/layout/component/aside.vue | 10 +- src/layout/component/columnsAside.vue | 10 +- src/layout/component/header.vue | 10 +- src/layout/component/main.vue | 10 +- src/layout/component/transverseAside.vue | 10 +- src/layout/footer/index.vue | 10 +- src/layout/index.vue | 10 +- src/layout/logo/index.vue | 10 +- src/layout/main/classic.vue | 10 +- src/layout/main/columns.vue | 10 +- src/layout/main/defaults.vue | 10 +- src/layout/main/transverse.vue | 10 +- src/layout/navBars/breadcrumb/breadcrumb.vue | 10 +- src/layout/navBars/breadcrumb/index.vue | 10 +- src/layout/navBars/breadcrumb/search.vue | 10 +- src/layout/navBars/breadcrumb/setings.vue | 10 +- src/layout/navBars/breadcrumb/theme.js | 10 +- src/layout/navBars/breadcrumb/user.vue | 10 +- src/layout/navBars/breadcrumb/userNews.vue | 10 +- src/layout/navBars/index.vue | 10 +- src/layout/navBars/tagsView/contextmenu.vue | 10 +- src/layout/navBars/tagsView/tagsView.vue | 10 +- src/layout/navMenu/horizontal.vue | 10 +- src/layout/navMenu/subItem.vue | 10 +- src/layout/navMenu/vertical.vue | 10 +- src/layout/routerView/iframes.vue | 10 +- src/layout/routerView/link.vue | 10 +- src/layout/routerView/parent.vue | 10 +- src/layout/upgrade/index.vue | 10 +- src/libs/modal-attr.js | 10 +- src/libs/modal-coupon.js | 10 +- src/libs/modal-form.js | 10 +- src/libs/modal-templates.js | 10 +- src/libs/modal-upload.js | 10 +- src/libs/modal.js | 10 +- src/libs/notice.js | 76 +++-- src/libs/public.js | 36 +-- src/libs/settingMer.js | 10 +- src/libs/tools.js | 14 +- src/main.js | 12 +- src/permission.js | 102 +++---- src/router/index.js | 10 +- src/router/modules/accounts.js | 134 ++++----- src/router/modules/charts.js | 10 +- src/router/modules/config.js | 114 ++++---- src/router/modules/delivery.js | 76 +++-- src/router/modules/devise.js | 72 +++-- src/router/modules/exportFile.js | 52 ++-- src/router/modules/group.js | 88 +++--- src/router/modules/marketing.js | 10 +- src/router/modules/order.js | 10 +- src/router/modules/product.js | 182 ++++++------ src/router/modules/setting.js | 12 +- src/router/modules/station.js | 50 ++-- src/router/modules/systemForm.js | 20 +- src/router/modules/user.js | 94 +++--- src/settings.js | 10 +- src/store/getters.js | 10 +- src/store/index.js | 10 +- src/store/modules/app.js | 10 +- src/store/modules/errorLog.js | 10 +- src/store/modules/layout.js | 28 +- src/store/modules/menu.js | 18 +- src/store/modules/mobildConfig.js | 36 +-- src/store/modules/permission.js | 10 +- src/store/modules/settings.js | 12 +- src/store/modules/tagsView.js | 10 +- src/store/modules/themeConfig.js | 10 +- src/store/modules/user.js | 10 +- src/utils/address.js | 10 +- src/utils/auth.js | 10 +- src/utils/bus.js | 10 +- src/utils/city.js | 10 +- src/utils/clipboard.js | 10 +- src/utils/compressImg.js | 10 +- src/utils/error-log.js | 16 +- src/utils/get-page-title.js | 10 +- src/utils/index.js | 46 ++- src/utils/newToExcel.js | 10 +- src/utils/open-window.js | 10 +- src/utils/permission.js | 10 +- src/utils/request.js | 10 +- src/utils/scroll-to.js | 18 +- src/utils/storage.js | 10 +- src/utils/system.js | 10 +- src/utils/theme.js | 10 +- src/utils/timeOptions.js | 10 +- src/utils/toolsValidate.js | 10 +- src/utils/util.js | 14 +- src/utils/validate.js | 10 +- src/utils/videoCloud.js | 34 +-- src/vendor/Blob.js | 270 +++++++++--------- src/vendor/Export2Excel.js | 10 +- src/views/accounts/capitalFlow/index.vue | 10 +- src/views/accounts/payType.vue | 10 +- src/views/accounts/reconciliation/index.vue | 10 +- src/views/accounts/reconciliation/record.vue | 10 +- src/views/accounts/statement/index.vue | 10 +- src/views/accounts/statement/record.vue | 10 +- src/views/accounts/transManage/index.vue | 10 +- src/views/charts/keyboard.vue | 10 +- src/views/charts/line.vue | 10 +- src/views/charts/mix-chart.vue | 10 +- .../cityDelivery/rechargeRecord/index.vue | 10 +- .../cityDelivery/storeManage/addStore.vue | 10 +- src/views/cityDelivery/storeManage/index.vue | 10 +- src/views/cityDelivery/usageRecord/index.vue | 10 +- src/views/clipboard/index.vue | 10 +- .../dashboard/admin/components/BarChart.vue | 10 +- .../dashboard/admin/components/BoxCard.vue | 10 +- .../dashboard/admin/components/LineChart.vue | 10 +- .../dashboard/admin/components/PanelGroup.vue | 10 +- .../dashboard/admin/components/PieChart.vue | 10 +- .../admin/components/RaddarChart.vue | 10 +- .../admin/components/TodoList/Todo.vue | 9 - .../admin/components/TodoList/index.vue | 9 - .../dashboard/admin/components/TodoPanel.vue | 10 +- .../admin/components/mixins/resize.js | 10 +- src/views/dashboard/admin/index.vue | 10 +- src/views/dashboard/editor/index.vue | 10 +- src/views/dashboard/index.vue | 10 +- src/views/devise/index.vue | 10 +- src/views/devise/links.vue | 10 +- src/views/devise/list.vue | 10 +- src/views/error-page/401.vue | 10 +- src/views/error-page/404.vue | 10 +- src/views/exportFile/index.vue | 10 +- src/views/icons/element-icons.js | 10 +- src/views/icons/index.vue | 10 +- src/views/icons/svg-icons.js | 10 +- src/views/login/index.vue | 10 +- .../assist/assist_activity/detail.vue | 10 +- .../assist/assist_activity/index.vue | 10 +- .../marketing/assist/assist_list/create.vue | 10 +- .../marketing/assist/assist_list/index.vue | 10 +- .../broadcast/batchAdd/goodsList.vue | 10 +- .../marketing/broadcast/batchAdd/index.vue | 10 +- .../broadcast/broadcastList/addProduct.vue | 10 +- .../broadcast/broadcastList/index.vue | 10 +- .../broadcast/broadcastList/proDetail.vue | 10 +- .../combination/combination_goods/create.vue | 10 +- .../combination/combination_goods/index.vue | 10 +- .../combination/store_combination/detail.vue | 10 +- .../combination/store_combination/index.vue | 10 +- .../coupon/couponList/creatCoupon.vue | 10 +- .../marketing/coupon/couponList/index.vue | 10 +- .../marketing/coupon/couponSend/index.vue | 10 +- .../marketing/coupon/couponUser/index.vue | 10 +- src/views/marketing/discounts/create.vue | 10 +- .../discounts/formRule/discountsFrom.js | 10 +- .../marketing/discounts/formRule/ruleShip.js | 10 +- src/views/marketing/discounts/index.vue | 10 +- src/views/marketing/integral/config/index.vue | 10 +- src/views/marketing/integral/log/index.vue | 10 +- src/views/marketing/preSale/create.vue | 10 +- src/views/marketing/preSale/index.vue | 10 +- .../seckill/seckillGoods/createGoods.vue | 10 +- .../seckill/seckillGoods/goodsList.vue | 10 +- .../marketing/seckill/seckillGoods/index.vue | 10 +- .../marketing/studio/assistant/index.vue | 10 +- .../studio/studioList/creatStudio.vue | 10 +- .../marketing/studio/studioList/index.vue | 10 +- .../studio/studioList/selectedGoods.vue | 10 +- .../studio/studioList/studioDetail.vue | 10 +- src/views/notify/smsConfig/index.vue | 10 +- src/views/notify/smsConfig/tableList.vue | 10 +- src/views/notify/smsPay/index.vue | 10 +- src/views/order/index.vue | 10 +- src/views/order/logistics.vue | 10 +- src/views/order/orderCancellate.vue | 10 +- src/views/order/orderCancellate/index.vue | 10 +- src/views/order/orderDetails.vue | 10 +- src/views/order/orderInvoice/index.vue | 10 +- src/views/order/orderRefund.vue | 10 +- src/views/order/orderRefund/index.vue | 10 +- src/views/order/orderRefund/refundDetail.vue | 10 +- src/views/product/Reviews/index.vue | 10 +- src/views/product/addProduct/addCarMy.vue | 10 +- src/views/product/addProduct/copyRecord.vue | 10 +- src/views/product/addProduct/index.vue | 16 +- src/views/product/addProduct/taoBao.vue | 10 +- src/views/product/productAttr/index.vue | 10 +- src/views/product/productClassify/index.vue | 10 +- src/views/product/productLabel/index.vue | 10 +- src/views/product/productList/copyRecord.vue | 10 +- src/views/product/productList/editAttr.vue | 10 +- src/views/product/productList/index.vue | 10 +- src/views/product/productList/proDetails.vue | 10 +- src/views/product/productList/taoBao.vue | 10 +- src/views/product/productUnit/index.vue | 10 +- src/views/product/specs/create.vue | 10 +- src/views/product/specs/list.vue | 10 +- src/views/redirect/index.vue | 10 +- src/views/setting/dumpConfig/index.vue | 10 +- src/views/setting/openAuth/list.vue | 10 +- src/views/setting/printer/index.vue | 10 +- src/views/setting/systemAdmin/index.vue | 10 +- src/views/setting/systemLog/index.vue | 10 +- src/views/setting/systemRole/index.vue | 10 +- src/views/setting/systemStore/index.vue | 10 +- src/views/station/notice/index.vue | 10 +- src/views/system/config/picture.vue | 10 +- src/views/system/customer_keyword/index.vue | 10 +- src/views/system/freight/express/index.vue | 10 +- .../freight/shippingTemplates/index.vue | 10 +- src/views/system/groupData/data.vue | 10 +- src/views/system/groupData/list.vue | 10 +- src/views/system/guarantee/index.vue | 10 +- src/views/system/service/index.vue | 10 +- src/views/system/topic/data.vue | 10 +- src/views/systemForm/applyMents/index.vue | 10 +- src/views/systemForm/applyMents/list.vue | 10 +- src/views/systemForm/form/create.vue | 10 +- src/views/systemForm/form/details.vue | 10 +- src/views/systemForm/form/index.vue | 10 +- src/views/systemForm/setSystem/index.vue | 10 +- .../systemForm/setSystem/modifyStoreInfo.vue | 10 +- src/views/user/group/index.vue | 10 +- src/views/user/label/index.vue | 10 +- src/views/user/list/couponList.vue | 10 +- src/views/user/list/index.vue | 10 +- src/views/user/list/userDetails.vue | 10 +- src/views/user/member/record.vue | 10 +- src/views/user/search/index.vue | 10 +- tests/unit/components/Hamburger.spec.js | 10 +- tests/unit/components/SvgIcon.spec.js | 10 +- tests/unit/utils/formatTime.spec.js | 10 +- tests/unit/utils/parseTime.spec.js | 10 +- tests/unit/utils/validate.spec.js | 10 +- 393 files changed, 1175 insertions(+), 4325 deletions(-) diff --git a/build/index.js b/build/index.js index 6873a07..0bdcc10 100644 --- a/build/index.js +++ b/build/index.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + const { run } = require('runjs') const chalk = require('chalk') const config = require('../vue.config.js') diff --git a/mock/article.js b/mock/article.js index 60a9c93..38cae5a 100644 --- a/mock/article.js +++ b/mock/article.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + import Mock from 'mockjs' const List = [] const count = 100 diff --git a/mock/index.js b/mock/index.js index 38cedf3..400028a 100644 --- a/mock/index.js +++ b/mock/index.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + import Mock from 'mockjs' import { param2Obj } from '../src/utils' import user from './user' @@ -28,7 +20,7 @@ export function mockXHR() { // mock patch // https://github.com/nuysoft/Mock/issues/300 Mock.XHR.prototype.proxy_send = Mock.XHR.prototype.send - Mock.XHR.prototype.send = function() { + Mock.XHR.prototype.send = function () { if (this.custom.xhr) { this.custom.xhr.withCredentials = this.withCredentials || false @@ -40,7 +32,7 @@ export function mockXHR() { } function XHR2ExpressReqWrap(respond) { - return function(options) { + return function (options) { let result = null if (respond instanceof Function) { const { body, type, url } = options diff --git a/mock/mock-server.js b/mock/mock-server.js index 3fd5f73..5de6b1f 100644 --- a/mock/mock-server.js +++ b/mock/mock-server.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + const chokidar = require('chokidar') const bodyParser = require('body-parser') const chalk = require('chalk') diff --git a/mock/remote-search.js b/mock/remote-search.js index e1655be..4cf3953 100644 --- a/mock/remote-search.js +++ b/mock/remote-search.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + import Mock from 'mockjs' const NameList = [] const count = 100 diff --git a/mock/role/index.js b/mock/role/index.js index 9fff9cc..7c0c4e3 100644 --- a/mock/role/index.js +++ b/mock/role/index.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + import Mock from 'mockjs' import { deepClone } from '../../src/utils/index.js' import { asyncRoutes, constantRoutes } from './routes.js' diff --git a/mock/role/routes.js b/mock/role/routes.js index 99d54e2..4987e6a 100644 --- a/mock/role/routes.js +++ b/mock/role/routes.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + // Just a mock data export const constantRoutes = [ { diff --git a/mock/user.js b/mock/user.js index 2a06fa6..859bd6f 100644 --- a/mock/user.js +++ b/mock/user.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + const tokens = { admin: { token: 'admin-token' diff --git a/src/App.vue b/src/App.vue index c092ceb..7e7b23c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,15 +5,7 @@