lrf402788946 4 年之前
父節點
當前提交
bf583698ba
共有 6 個文件被更改,包括 13 次插入3 次删除
  1. 1 1
      .env
  2. 1 0
      .gitignore
  3. 8 0
      .htaccess
  4. 1 0
      README.md
  5. 1 1
      src/views/kline/parts/left-menu.vue
  6. 1 1
      vue.config.js

+ 1 - 1
.env

@@ -1,2 +1,2 @@
 VUE_APP_AXIOS_BASE_URL = 'https://www.ilikegou.cn'
-VUE_APP_ROUTER="platlive"
+BASE_URL="umychart"

+ 1 - 0
.gitignore

@@ -1,6 +1,7 @@
 .DS_Store
 node_modules
 /dist
+umychart
 
 
 # local env files

+ 8 - 0
.htaccess

@@ -0,0 +1,8 @@
+<IfModule mod_rewrite.c>
+  RewriteEngine On
+  RewriteBase /umychart/
+  RewriteRule ^index\.html$ - [L]
+  RewriteCond %{REQUEST_FILENAME} !-f
+  RewriteCond %{REQUEST_FILENAME} !-d
+  RewriteRule . /umychart/index.html [L]
+</IfModule>

+ 1 - 0
README.md

@@ -1,4 +1,5 @@
 # kline-web
+### https://www.ilikegou.cn/umychart/index.html
 
 ## Project setup
 ```

+ 1 - 1
src/views/kline/parts/left-menu.vue

@@ -75,7 +75,7 @@ export default {
       ],
       commonTrees: [],
       form: {
-        Script: 'WR1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));\nWR2:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));',
+        Script: '',
         Args: [],
       },
     };

+ 1 - 1
vue.config.js

@@ -1,6 +1,6 @@
 const path = require('path');
 module.exports = {
-  publicPath: `/`,
+  publicPath: `/${process.env.BASE_URL}`,
   // 打包文件
   outputDir: 'umychart',
   productionSourceMap: false,