@netang/quasar 0.2.52 → 0.2.54

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.
@@ -32,7 +32,7 @@ import $n_sleep from '@netang/utils/sleep'
32
32
  import $n_percentValue from '@netang/utils/percentValue'
33
33
  import $n_pxValue from '@netang/utils/pxValue'
34
34
 
35
- import { layoutKey, emptyRenderFn } from 'quasar/src/utils/private/symbols.js'
35
+ import { layoutKey, emptyRenderFn } from 'quasar/src/utils/private/symbols'
36
36
 
37
37
  import { NPowerKey } from '../../utils/symbols'
38
38
 
@@ -2,13 +2,14 @@
2
2
  <div class="n-uploader" v-if="pageStatus === true">
3
3
 
4
4
  <!-- 隐藏上传文件输入框 -->
5
+ <!--capture="camera"-->
5
6
  <input
6
7
  ref="fileRef"
7
8
  class="hidden"
8
9
  type="file"
9
- capture="camera"
10
10
  :multiple="count !== 1"
11
11
  @change="uploader.fileChange"
12
+ v-bind="$attrs"
12
13
  >
13
14
 
14
15
  <!-- 插槽 -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netang/quasar",
3
- "version": "0.2.52",
3
+ "version": "0.2.54",
4
4
 
5
5
  "description": "netang-quasar",
6
6
  "scripts": {
@@ -6,6 +6,7 @@ import $n_toast from './toast'
6
6
  * 复制图片
7
7
  */
8
8
  export default function copyImage(src) {
9
+
9
10
  $n_copyImage(src)
10
11
  .then(function () {
11
12
  // 轻提示
@@ -17,7 +18,7 @@ export default function copyImage(src) {
17
18
  .catch(function (e) {
18
19
  // 轻提示
19
20
  $n_toast({
20
- type: 'positive',
21
+ type: 'negative',
21
22
  message: '复制图片失败:' + e,
22
23
  })
23
24
  })