diff --git a/build/index.js b/build/index.js index bcba030..d82860b 100644 --- a/build/index.js +++ b/build/index.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + const { run } = require('runjs') const chalk = require('chalk') diff --git a/mock/article.js b/mock/article.js index e527426..2b1acfb 100644 --- a/mock/article.js +++ b/mock/article.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + import Mock from 'mockjs' const List = [] diff --git a/mock/index.js b/mock/index.js index 3a043fa..35b6a8d 100644 --- a/mock/index.js +++ b/mock/index.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + import Mock from 'mockjs' import { param2Obj } from '../src/utils' @@ -29,7 +21,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 @@ -41,7 +33,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 2b0119c..5de6b1f 100644 --- a/mock/mock-server.js +++ b/mock/mock-server.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2024 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 91d3548..1a10bd3 100644 --- a/mock/remote-search.js +++ b/mock/remote-search.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + import Mock from 'mockjs' const NameList = [] diff --git a/mock/user.js b/mock/user.js index 90e4078..859bd6f 100644 --- a/mock/user.js +++ b/mock/user.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + const tokens = { admin: { token: 'admin-token' diff --git a/plop-templates/component/prompt.js b/plop-templates/component/prompt.js index 287f98d..6a86811 100644 --- a/plop-templates/component/prompt.js +++ b/plop-templates/component/prompt.js @@ -1,12 +1,4 @@ -// +---------------------------------------------------------------------- -// | CRMEB [ CRMEB赋能开发者,助力企业发展 ] -// +---------------------------------------------------------------------- -// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved. -// +---------------------------------------------------------------------- -// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权 -// +---------------------------------------------------------------------- -// | Author: CRMEB Team -// +---------------------------------------------------------------------- + const { notEmpty } = require('../utils.js') module.exports = { diff --git a/src/App.vue b/src/App.vue index 74ee2f9..ec77c87 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,15 +6,7 @@