Socket
Socket
Sign inDemoInstall

snowui

Package Overview
Dependencies
28
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.101 to 1.4.105

2

package.json
{
"name": "snowui",
"version": "1.4.101",
"version": "1.4.105",
"author": "yinli.wangyl<wangyinli1228@163.com>",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -142,3 +142,2 @@ import { Loading } from 'element-ui'

}
console.error(errorMsg)
}

@@ -145,0 +144,0 @@ }

@@ -1,2 +0,3 @@

import ajax from "./ajax"
import ajax from './ajax'
import { resolve } from 'q'

@@ -8,3 +9,3 @@ let dict = {

dict.loadDicts = (dictCode, vm) => {
return ajax.getQuery("/system/dict/loadDicts", vm).then(data => {
return ajax.getQuery('/system/dict/loadDicts', vm).then(data => {
dict.data = data

@@ -21,7 +22,8 @@ })

dict.data[dictCode] = items
return items
})
}
dict.getItems = (dictCode) => {
return dict.data[dictCode]
dict.getItems = dictCode => {
return dict.data[dictCode]
}

@@ -31,9 +33,9 @@

if (!itemIds) return null
let itemNames = ""
let arr = itemIds.toString().split(",")
let itemNames = ''
let arr = itemIds.toString().split(',')
arr.forEach((itemId, i) => {
let item = getItem(dictCode, itemId)
itemNames += item ? item.name : ""
itemNames += item ? item.name : ''
if (i < arr.length - 1) {
itemNames += ", "
itemNames += ', '
}

@@ -61,2 +63,2 @@ })

export default dict
export default dict

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc