diff --git a/config/index.js b/config/index.js
index b1176b43f490bedabe9e4015563ae25e8585267f..4ed19ad91b8c5788e7e3a4d935bb9887b33c8be0 100644
--- a/config/index.js
+++ b/config/index.js
@@ -1,19 +1,47 @@
-'use strict'
+"use strict";
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
-const path = require('path')
+const path = require("path");
module.exports = {
dev: {
-
// Paths
- assetsSubDirectory: 'static',
- assetsPublicPath: '/',
- proxyTable: {},
+ assetsSubDirectory: "static",
+ assetsPublicPath: "/",
+ proxyTable: {
+ "/apaas": {
+ target: "https://apaas3.wodcloud.com/apaas/",
+ changeOrigin: true,
+ pathRewrite: {
+ "^/apaas": "",
+ },
+ },
+ "/awecloud": {
+ target: "https://apaas3.wodcloud.com/awecloud/",
+ changeOrigin: true,
+ pathRewrite: {
+ "^/awecloud": "",
+ },
+ },
+ "/vmap": {
+ target: "https://apaas3.wodcloud.com/vmap/",
+ changeOrigin: true,
+ pathRewrite: {
+ "^/vmap": "",
+ },
+ },
+ "/iam": {
+ target: "https://apaas3.wodcloud.com/iam/",
+ changeOrigin: true,
+ pathRewrite: {
+ "^/iam": "",
+ },
+ },
+ },
// Various Dev Server settings
- host: 'localhost', // can be overwritten by process.env.HOST
+ host: "localhost", // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
@@ -33,44 +61,44 @@ module.exports = {
*/
// https://webpack.js.org/configuration/devtool/#development
- devtool: 'cheap-module-eval-source-map',
+ devtool: "cheap-module-eval-source-map",
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
// https://vue-loader.vuejs.org/en/options.html#cachebusting
cacheBusting: true,
- cssSourceMap: true
+ cssSourceMap: true,
},
build: {
// Template for index.html
- index: path.resolve(__dirname, '../dist', 'iam','login', 'index.html'),
+ index: path.resolve(__dirname, "../dist", "iam", "login", "index.html"),
// Paths
- assetsRoot: path.resolve(__dirname, '../dist', 'iam','login'),
- assetsSubDirectory: 'static',
- assetsPublicPath: '/iam/login/',
+ assetsRoot: path.resolve(__dirname, "../dist", "iam", "login"),
+ assetsSubDirectory: "static",
+ assetsPublicPath: "/iam/login/",
/**
- * Source Maps
+ * Source Maps
*/
productionSourceMap: true,
// https://webpack.js.org/configuration/devtool/#production
- devtool: '#source-map',
+ devtool: "#source-map",
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
- productionGzipExtensions: ['js', 'css'],
+ productionGzipExtensions: ["js", "css"],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
- bundleAnalyzerReport: process.env.npm_config_report
- }
-}
+ bundleAnalyzerReport: process.env.npm_config_report,
+ },
+};
diff --git a/src/components/bg-identify.vue b/src/components/bg-identify.vue
new file mode 100644
index 0000000000000000000000000000000000000000..e59ba2f809242d0a62839444245a1b0210673a16
--- /dev/null
+++ b/src/components/bg-identify.vue
@@ -0,0 +1,183 @@
+
+
+
验证码
-