wanghousheng 10 months ago
parent 985d2c8e3a
commit 2381751a46
  1. 4
      package.json
  2. 2
      public/config.js

@ -3,8 +3,8 @@
"version": "3.0.0",
"private": true,
"scripts": {
"serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
"build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
"serve": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
"lint": "vue-cli-service lint",
"build:preview": "vue-cli-service build --mode preview",

2
public/config.js vendored

@ -5,7 +5,7 @@ window.publicConfig = {
// 必填: api地址, 换成自己的域名即可
// 例如: https://www.你的域名.com/index.php?s=/store
// BASE_API: '../index.php?s=/store',
BASE_API: 'https://www.saas.njrenzhou.com/index.php?s=/store',
BASE_API: 'http://www.yzshop.cn/index.php?s=/store',
// 图片文件上传大小 (单位mb)
uploadImageSize: 2,

Loading…
Cancel
Save