ol-base-components 0.2.0 → 0.2.2

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": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "main": "src/package/index.js",
6
6
  "scripts": {
@@ -1,7 +1,7 @@
1
- import OlFormSearch from "./src/formSearch.vue";
1
+ import OlSearch from "./src/index.vue";
2
2
 
3
- OlFormSearch.install = function (Vue) {
4
- Vue.component("ol-formSearch ", OlFormSearch );
3
+ OlSearch.install = function (Vue) {
4
+ Vue.component("ol-search ", OlSearch );
5
5
  };
6
6
 
7
- export default OlFormSearch;
7
+ export default OlSearch;
@@ -190,7 +190,7 @@
190
190
 
191
191
  <script>
192
192
  export default {
193
- name: "FormSearch",
193
+ name: "search",
194
194
  directives: {
195
195
  "el-select-loadmore": {
196
196
  bind(el, binding) {
@@ -1,7 +1,7 @@
1
1
  import OlTable from "./table";
2
- import OlFormSearch from "./src/formSearch.vue";
2
+ import OlSearch from "./formSearch";
3
3
 
4
- const components = [OlTable, OlFormSearch];
4
+ const components = [OlTable, OlSearch];
5
5
 
6
6
  const install = function (Vue) {
7
7
  // 遍历所有组件