diff --git a/package.json b/package.json index bbea7cf..44eb672 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "xss": "^1.0.13" }, "devDependencies": { + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", "@babel/polyfill": "^7.2.5", "@types/crypto-js": "^4.1.1", "@vue/cli-plugin-babel": "^3.3.0", diff --git a/src/views/system/DefaultNuclide/AlarmRule.vue b/src/views/system/DefaultNuclide/AlarmRule.vue new file mode 100644 index 0000000..8b213cf --- /dev/null +++ b/src/views/system/DefaultNuclide/AlarmRule.vue @@ -0,0 +1,339 @@ + + + + + \ No newline at end of file diff --git a/src/views/system/DefaultNuclide/AutoProcess.vue b/src/views/system/DefaultNuclide/AutoProcess.vue new file mode 100644 index 0000000..32ffb68 --- /dev/null +++ b/src/views/system/DefaultNuclide/AutoProcess.vue @@ -0,0 +1,404 @@ + + + + + \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 1c90d4c..6ac77a3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -69,6 +69,19 @@ module.exports = { .use() .loader('babel-loader') .end() + config.module + .rule('ol') + .test(/\.js$/) + .include + .add(resolve('node_modules/ol')) + .end() + .use() + .loader('babel-loader') + .options({ + presets: ['@babel/preset-env'], + plugins: ['@babel/plugin-proposal-nullish-coalescing-operator'] + }) + .end() }, css: {