nutui-uniapp
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -101,17 +101,1 @@ /** 枚举EPlatform */ | ||
export const isQuickappWebviewHuawei = platform === EPlatform.QuickappWebviewHuawei | ||
// utils | ||
function toBoolean(val: any) { | ||
return val ? val !== 'false' : false | ||
} | ||
function parseJSON<T>(val: any) { | ||
let obj: T | ||
try { | ||
obj = JSON.parse(val || '{}') as T | ||
} | ||
catch (error) { | ||
obj = {} as T | ||
} | ||
return obj | ||
} |
@@ -29,9 +29,9 @@ import type { ExtractPropTypes } from 'vue' | ||
export const addresslistEmits = { | ||
delIcon: (val: Event, item: unknown) => true, | ||
editIcon: (val: Event, item: unknown) => true, | ||
clickItem: (val: Event, item: unknown) => true, | ||
longCopy: (val: Event, item: unknown) => true, | ||
longSet: (val: Event, item: unknown) => true, | ||
longDel: (val: Event, item: unknown) => true, | ||
swipeDel: (val: Event, item: unknown) => true, | ||
delIcon: (val: Event, item: unknown, index: number | string) => true, | ||
editIcon: (val: Event, item: unknown, index: number | string) => true, | ||
clickItem: (val: Event, item: unknown, index: number | string) => true, | ||
longCopy: (val: Event, item: unknown, index: number | string) => true, | ||
longSet: (val: Event, item: unknown, index: number | string) => true, | ||
longDel: (val: Event, item: unknown, index: number | string) => true, | ||
swipeDel: (val: Event, item: unknown, index: number | string) => true, | ||
add: (val: Event) => true, | ||
@@ -38,0 +38,0 @@ |
{ | ||
"name": "nutui-uniapp", | ||
"type": "module", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "京东风格的轻量级移动端 Uniapp、Vue3 组件库(支持小程序开发)", | ||
@@ -6,0 +6,0 @@ "author": "yang1206 <y1149221897@outlook.com>", |
@@ -13,3 +13,3 @@ <p align="center"> | ||
<a href="https://www.npmjs.com/package/nutui-uniapp"> | ||
<img alt="npm" src="https://img.shields.io/npm/v/uniapp-nutui?logo=npm&color=%234d80f0&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Funiapp-nutui"> | ||
<img alt="npm" src="https://img.shields.io/npm/v/nutui-uniapp?logo=npm&color=%234d80f0&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Funiapp-nutui"> | ||
</a> | ||
@@ -16,0 +16,0 @@ <a href="https://www.npmjs.com/package/uniapp-nutui"> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1895652
16345