Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sweetui/sweet-mobile

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sweetui/sweet-mobile - npm Package Compare versions

Comparing version 2.2.7 to 2.2.8

12

form/index.js

@@ -8,8 +8,8 @@ import Form from './form/src/form.vue'

export default {
install(Vue) {
Vue.component(Form.name, Form)
Vue.component(FormItem.name, FormItem)
Vue.component(sweetInput.name, sweetInput)
Vue.component(sweetGroup.name, sweetGroup)
},
install(Vue) {
Vue.component(Form.name, Form)
Vue.component(FormItem.name, FormItem)
Vue.component(sweetInput.name, sweetInput)
Vue.component(sweetGroup.name, sweetGroup)
},
}
### 表单验证
验证组件 `sweet-form` ` sweet-form-item` 参考饿了么 `el-form` `el-form-item`组件
验证组件 `el-form` ` sweet-form-item` 参考饿了么的`el-form` `el-form-item`

@@ -12,3 +12,3 @@ [文档参数具体参考饿了么官网](http://element-cn.eleme.io/#/zh-CN/component/form)

```html
// 这里 el-form-item 的 class="sweet-input-form" 必须有,
// 这里 sweet-form-item 的 class="sweet-input-form" 必须有,
<sweet-form-item prop="name" class="sweet-input-form">

@@ -40,3 +40,3 @@ <sweet-input v-model="formData.name" type="text" placeholder="Name"/>

```html
// 这里 el-form-item 的 class="sweet-group-form" 必须有
// 这里 sweet-form-item 的 class="sweet-group-form" 必须有
// template 的 v-if="scope" 必须有

@@ -43,0 +43,0 @@ <sweet-form-item prop="checkVal" class="sweet-group-form">

{
"name": "@sweetui/sweet-mobile",
"version": "2.2.7",
"version": "2.2.8",
"description": "Sweet Mobile Core",

@@ -5,0 +5,0 @@ "main": "index.js",

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc