meixioacomponent 0.9.76 → 0.9.78

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": "meixioacomponent",
3
- "version": "0.9.76",
3
+ "version": "0.9.78",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -48,7 +48,7 @@
48
48
  "not dead"
49
49
  ],
50
50
  "description": "## Project setup ``` npm install ```",
51
- "main": "./lib/meixioacomponent.umd.js",
51
+ "main": "./lib/meixioacomponent.umd.min.js",
52
52
  "author": "yuri",
53
53
  "license": "MIT",
54
54
  "typings": "./lib/components/index.d.ts"
@@ -6,7 +6,7 @@
6
6
  :src="src"
7
7
  :style="imgStyle"
8
8
  alt=""
9
- @click="viewImg"
9
+ @click.stop="viewImg"
10
10
  @error="errorEd"
11
11
  @load="loadEd"
12
12
  />
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  class="base-upload-wrap"
4
4
  v-loading="uploadLoading"
5
- :class="{ other: fileType == 'other' }"
5
+ :class="{ other: fileType === 'other' }"
6
6
  >
7
7
  <div class="base-upload-content">
8
8
  <div
@@ -19,7 +19,7 @@
19
19
  v-if="type === 'upload'"
20
20
  ref="inputFile"
21
21
  :accept="accept"
22
- :multiple="uploadType === 'single' ? false : true"
22
+ :multiple="uploadType!=='single'"
23
23
  style="display: none;"
24
24
  type="file"
25
25
  @change="onInputFileChange"
@@ -243,6 +243,7 @@ export default {
243
243
  },
244
244
  methods: {
245
245
  clickFile() {
246
+ console.log('sdas');
246
247
  const {disabled} = this.$props
247
248
  if (disabled) return
248
249
  this.$refs.inputFile.value = ''