meixioacomponent 0.3.29 → 0.3.32

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.
@@ -15,6 +15,7 @@
15
15
  --color-gray-d: #dfe1e6;
16
16
  --color-gray-m: #f4f5f7;
17
17
  --color-gray-s: #fafbfc;
18
+
18
19
  // 字体颜色
19
20
  --font-color-d: #172b4d;
20
21
  --font-color-m: #344563;
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
1
  {
2
- "name": "meixioacomponent",
3
- "version": "0.3.29",
4
- "private": false,
5
- "author": "YuRi",
6
- "main": "lib/meixioacomponent.umd.min.js",
7
- "scripts": {
8
- "serve": "vue-cli-service serve",
9
- "lib": "vue-cli-service build --target lib --name meixioacomponent --dest lib packages/components/index.js",
10
- "build:theme": "cp-cli packages/components/style/ lib/style"
11
- },
12
- "dependencies": {
13
- "axios": "^0.27.2",
14
- "core-js": "^3.6.5",
15
- "cp-cli": "^1.0.2",
16
- "dayjs": "^1.11.3",
17
- "element-ui": "^2.15.6",
18
- "gulp": "^4.0.0",
19
- "register-service-worker": "^1.7.1",
20
- "vue": "^2.6.11",
21
- "vue-router": "^3.2.0",
22
- "vuedraggable": "^2.24.3",
23
- "vuex": "^3.4.0"
24
- },
25
- "devDependencies": {
26
- "@vue/cli-plugin-babel": "~4.5.13",
27
- "@vue/cli-plugin-pwa": "~4.5.13",
28
- "@vue/cli-plugin-router": "~4.5.13",
29
- "@vue/cli-plugin-vuex": "~4.5.13",
30
- "@vue/cli-service": "~4.5.13",
31
- "babel-plugin-component": "^1.1.1",
32
- "babel-plugin-transform-remove-console": "^6.9.4",
33
- "less": "^3.0.4",
34
- "less-loader": "^5.0.0",
35
- "vue-template-compiler": "^2.6.11"
36
- },
37
- "browserslist": [
38
- "> 1%",
39
- "last 2 versions",
40
- "not dead"
41
- ]
42
- }
2
+ "name": "meixioacomponent",
3
+ "version": "0.3.32",
4
+ "private": false,
5
+ "author": "YuRi",
6
+ "main": "lib/meixioacomponent.umd.min.js",
7
+ "scripts": {
8
+ "serve": "vue-cli-service serve",
9
+ "lib": "vue-cli-service build --target lib --name meixioacomponent --dest lib packages/components/index.js",
10
+ "build:theme": "cp-cli packages/components/style/ lib/style"
11
+ },
12
+ "dependencies": {
13
+ "axios": "^0.27.2",
14
+ "core-js": "^3.6.5",
15
+ "cp-cli": "^1.0.2",
16
+ "dayjs": "^1.11.3",
17
+ "element-ui": "^2.15.6",
18
+ "gulp": "^4.0.0",
19
+ "register-service-worker": "^1.7.1",
20
+ "vue": "^2.7.0",
21
+ "vue-router": "^3.2.0",
22
+ "vuedraggable": "^2.24.3",
23
+ "vuex": "^3.4.0"
24
+ },
25
+ "devDependencies": {
26
+ "@vue/cli-plugin-babel": "~4.5.18",
27
+ "@vue/cli-plugin-pwa": "~4.5.13",
28
+ "@vue/cli-plugin-router": "~4.5.13",
29
+ "@vue/cli-plugin-vuex": "~4.5.13",
30
+ "@vue/cli-service": "~4.5.13",
31
+ "babel-plugin-component": "^1.1.1",
32
+ "babel-plugin-transform-remove-console": "^6.9.4",
33
+ "less": "^3.0.4",
34
+ "less-loader": "^5.0.0",
35
+ "vue-template-compiler": "^2.7.8"
36
+ },
37
+ "browserslist": [
38
+ "> 1%",
39
+ "last 2 versions",
40
+ "not dead"
41
+ ]
42
+ }
@@ -43,6 +43,7 @@ import SelectStore from "../config/selectStore/SelectStore";
43
43
  //
44
44
  import useImg from "../config/use/UseImg";
45
45
  import UseDrag from "../config/use/useDrag";
46
+ import useUpload from "../config/use/UseUpload";
46
47
  import useFixedHeader from "../config/use/useFixedHeader";
47
48
 
48
49
  const meixicomponents = [
@@ -139,6 +140,7 @@ export default {
139
140
  SelectStore,
140
141
  useImg,
141
142
  UseDrag,
143
+ useUpload,
142
144
  useFixedHeader,
143
145
  DynamicMountClass,
144
146
  };
@@ -376,6 +376,8 @@ export default {
376
376
  init() {
377
377
  if (this.$props.form) {
378
378
  this.isEdit = true
379
+ } else {
380
+ this.isEdit = false
379
381
  }
380
382
  },
381
383
  handleContent() {
@@ -444,7 +446,7 @@ export default {
444
446
  },
445
447
  watch: {
446
448
  form(newVal, oldVal) {
447
- this.init();
449
+ this.init()
448
450
  },
449
451
  },
450
452
  }