@@ -2,6 +2,6 @@
NODE_ENV=development
VUE_APP_ENV='dev'
# 页面 title
-VUE_APP_TITLE=CRMEB
+VUE_APP_TITLE=君子堂
# 接口请求地址
-VUE_APP_API_URL='https://test.pro.wuht.net/cashierapi'
+VUE_APP_API_URL='https://wx.junhailan.com/cashierapi'
@@ -3,6 +3,6 @@ NODE_ENV=production
VUE_APP_ENV='production'
VUE_APP_API_URL=''
@@ -3,8 +3,8 @@
"version": "2.0.0",
"private": true,
"scripts": {
- "serve": "vue-cli-service serve --open --mode=dev",
- "dev": "npm run serve --mode=dev",
+ "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --open --mode=dev",
+ "dev": "vue-cli-service serve --open --mode=dev",
"build": "vue-cli-service build --mode=production"
},
"dependencies": {
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
<link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
<!--<script type="text/javascript" src="core.js"></script>-->
- <title>CRMEB</title>
+ <title>君子堂</title>
</head>
<body>
<noscript>
@@ -1,5 +1,5 @@
<template>
- <GlobalFooter class="i-copyright" :links="links" :copyright="copyright" />
+ <!-- <GlobalFooter class="i-copyright" :links="links" :copyright="copyright" /> -->
</template>
<script>
export default {
@@ -20,7 +20,7 @@
<div class="change-login-type" @click="changeLoginType">切换登录方式</div>
</div>
<div class="index_from" v-if="loginType == 'paw'">
- <div class="title">CRMEB收银台-登录</div>
+ <div class="title">君子堂收银台-登录</div>
<Form ref="formInline" :model="formInline" :rules="ruleInline">
<FormItem prop="username">
<Input
@@ -21,7 +21,7 @@ import Setting from '@/setting';
const frameIn = [{
path: '/',
meta: {
- title: 'CRMEB'
+ title: '君子堂'
redirect: {
name: 'login'
@@ -36,7 +36,7 @@ const Setting = {
* */
roterPre,
// 网页标题的后缀
- titleSuffix: util.cookies.get('pageTitle') || 'CRMEB',
+ titleSuffix: util.cookies.get('pageTitle') || '君子堂',
// 路由模式,可选值为 history 或 hash
routerMode: setting.isAPP ? 'hash' : 'history',
// 页面切换时,是否显示模拟的进度条
@@ -52,7 +52,7 @@ export default function (formRequestPromise, { width = '700' } = { width: '700'
return h('div', [
h('a', {
attrs: {
- href: 'http://www.crmeb.com'
+ // href: 'http://www.crmeb.com'
}
}, data.info)
])
@@ -16,7 +16,13 @@ module.exports = {
runtimeCompiler: true,
productionSourceMap: false,
devServer: {
- publicPath: Setting.publicPath
+ publicPath: Setting.publicPath,
+ "proxy" : {
+ "/cashierapi" : {
+ "target" : "https://wx.junhailan.com", //请求的目标域名
+ "changeOrigin" : true
+ }
css: {
loaderOptions: {