157578146@qq.com 2 years ago
parent
commit
46ec5d8698
  1. 64
      .eslintrc.js
  2. BIN
      public/favicon.jpg
  3. 2
      public/index.html
  4. 2
      src/components/blindBoxList/index.vue
  5. 2
      src/router/routes.js
  6. 2
      src/setting.js

64
.eslintrc.js

@ -1,32 +1,32 @@
// module.exports = {
// root: true,
// env: {
// node: true
// },
// 'extends': [
// 'plugin:vue/essential',
// // '@vue/standard'
// ],
// rules: {
// "semi": [0],
// 'indent': 'off',
// 'vue/script-indent': [
// 'error',
// 4,
// {
// 'baseIndent': 1
// }
// ],
// 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
// 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
// 'vue/no-parsing-error': [
// 2,
// {
// "x-invalid-end-tag": false
// }
// ]
// },
// parserOptions: {
// parser: 'babel-eslint'
// }
// }
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
// '@vue/standard'
],
rules: {
"semi": [0],
'indent': 'off',
'vue/script-indent': [
'error',
4,
{
'baseIndent': 1
}
],
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/no-parsing-error': [
2,
{
"x-invalid-end-tag": false
}
]
},
parserOptions: {
parser: 'babel-eslint'
}
}

BIN
public/favicon.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

2
public/index.html

@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
<link rel="shortcut icon" href="<%= BASE_URL %>favicon.jpg">
<title><%= VUE_APP_TITLE %></title>
</head>
<body>

2
src/components/blindBoxList/index.vue

@ -74,7 +74,7 @@
<div>
<div>{{row.title}}</div>
<div v-if="row.tag.length>0">
<Tag v-for="item in row.tag" color="green">{{item}}</Tag>
<Tag v-for="(item,index) in row.tag" :key="index" color="green">{{item}}</Tag>
</div>
</div>
</div>

2
src/router/routes.js

@ -28,7 +28,7 @@ import set from './modules/set';
const frameIn = [{
path: '/store/',
meta: {
title: 'CRMEB'
title: '元数仓商户端'
},
redirect: {
name: 'home_index'

2
src/setting.js

@ -23,7 +23,7 @@ const Setting = {
* 基础配置
* */
// 网页标题的后缀
titleSuffix: util.cookies.get('pageTitle') || 'CRMEB',
titleSuffix: util.cookies.get('pageTitle') || '元数仓商户端',
// 路由模式,可选值为 history 或 hash
routerMode: 'history',
// 页面切换时,是否显示模拟的进度条

Loading…
Cancel
Save