修改部分冗余代码,新增商家端npmrc配置 后续还会新增yarnrc

This commit is contained in:
lemon橪
2021-11-22 11:16:32 +08:00
parent 515cd3ebbd
commit 6ecb6b8055
15 changed files with 18 additions and 206 deletions

5
seller/.npmrc Normal file
View File

@@ -0,0 +1,5 @@
# 默认依赖包指定淘宝源
registry=https://registry.npm.taobao.org/
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
phantomjs_cdnurl=https://npm.taobao.org/mirrors/phantomjs/
electron_mirror=https://npm.taobao.org/mirrors/electron/

0
seller/.yarnrc Normal file
View File

View File

@@ -3,16 +3,7 @@ export default {
* @description 配置显示在浏览器标签的title
*/
title: "lilishop",
/**
* @description token在Cookie中存储的天数默认1天
*/
cookieExpires: 1,
/**
* @description 是否使用国际化默认为false
* 如果不使用则需要在路由中给需要在菜单中展示的路由设置meta: {title: 'xxx'}
* 用来在菜单中显示文字
*/
useI18n: true,
/**
* @description 高德web端申请的api key
*/
@@ -21,13 +12,5 @@ export default {
* @description 官网地址
*/
website: "https://www.pickmall.cn",
/**
* @description 需要加载的插件
*/
plugin: {
"error-store": {
showInHeader: true, // 设为false后不会在顶部显示错误日志徽标
developmentOff: true // 设为true后在开发环境不会收集错误信息方便开发中排查错误
}
}
};

View File

@@ -1,3 +0,0 @@
import Vue from "vue";
export default new Vue;

View File

@@ -1,3 +1,7 @@
/**
* 商家端左侧菜单栏静态数据
*/
export const result = [{
name: "lili",
level: 0,

View File

@@ -1,20 +0,0 @@
{
"name": "zh",
"options": {
"months": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
"shortMonths": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
"days": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
"shortDays": ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
"toolbar": {
"exportToSVG": "下载图表 SVG",
"exportToPNG": "下载图表 PNG",
"menu": "菜单",
"selection": "选择",
"selectionZoom": "区域缩放",
"zoomIn": "缩小",
"zoomOut": "放大",
"pan": "移动",
"reset": "重置缩放"
}
}
}

View File

@@ -11,7 +11,7 @@
</Row>
<Row v-show="openTip" v-if="status == 'manager'">
<Alert show-icon>
已选择 <span class="select-count">{{ selectCount }}</span>
已选择 <span >{{ selectCount }}</span>
<a class="select-clear" @click="clearSelectAll">清空</a>
</Alert>
</Row>