ol-base-components 2.1.6 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol-base-components",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "private": false,
5
5
  "main": "src/package/index.js",
6
6
  "bin": {
@@ -2,7 +2,6 @@ import OlTable from "./table";
2
2
  import OlSearch from "./formSearch";
3
3
  import Dialog from "./dialog";
4
4
  import SwaggerClient from "swagger-client";
5
- import globalData from "../globalData";
6
5
 
7
6
  const consoleTooltip = () => {
8
7
  // 定义颜色和样式
@@ -192,9 +191,6 @@ const install = async function (
192
191
  outputDir: "",
193
192
  }
194
193
  ) {
195
- if (options && options.swaggerUrl) globalData.swaggerUrl = options.swaggerUrl;
196
- if (options && options.outputDir) globalData.outputDir = options.outputDir;
197
-
198
194
  // 设置全局数据
199
195
  components.map((item) => {
200
196
  Vue.component(`ol-${item.name}`, item);
package/src/globalData.js DELETED
@@ -1,7 +0,0 @@
1
- // data.js
2
- let globalData = {
3
- swaggerUrl: "",
4
- outputDir: "",
5
- };
6
-
7
- module.exports = globalData;