Browse Source

fix: 修改测试地址

master
liuchen864 1 year ago
parent
commit
77063fc020
  1. 2
      .env.production
  2. 2
      .env.test
  3. 10
      package.json
  4. 2
      src/views/login/index.vue

2
.env.production

@ -2,7 +2,7 @@
VITE_DEV_PORT = '8080'
# production path
VITE_BASE_URL = 'http://127.0.0.1:12080'
VITE_BASE_URL = 'http://dev.ccwin-in.com:25100/api'
# 租户开关
VITE_APP_TENANT_ENABLE=true

2
.env.test

@ -2,7 +2,7 @@
VITE_DEV_PORT = '8080'
# production path
VITE_BASE_URL = 'http://127.0.0.1:12080'
VITE_BASE_URL = 'http://dev.ccwin-in.com:25100/api'
# 租户开关
VITE_APP_TENANT_ENABLE=true

10
package.json

@ -5,13 +5,11 @@
"node": ">=16.14 <18.0.0"
},
"scripts": {
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"dev": "vite",
"test": "vite build --mode test",
"prod": "vite build --mode production",
"preview": "vite preview",
"new": "plop --plopfile ./plop/plopfile.js",
"postinstall": "husky install",
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.vue src",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.vue src --fix"
"lint": "eslint --fix --ext .js,.vue src"
},
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",

2
src/views/login/index.vue

@ -67,7 +67,7 @@
</n-form-item>
<n-form-item path="password">
<n-input v-model:value="formInline.code" placeholder="请输入验证码"
style="width: 76%;margin-right: 10px;height: 42px;" @keyup.enter="handleSubmit()">
style="width: 76%;margin-right: 10px;height: 42px;" @keyup.enter="handleSubmit">
<template #prefix>
<img src="../../assets/images/login/code.png" alt=""
style="width: 18px;height: 18px;opacity: 0.38;">

Loading…
Cancel
Save