Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
On the background management system Fuzzy Provides one - stop add, delete, change and check configurable component
基于 vue3 | ts | element-plus | windcss 制作的一个的用于后台管理系统、 可通过配置提供增删改查一站式服务的组件
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import axios from 'axios'
import 'windi.css'
import { FuzzyInstall } from 'vue-fuzzy'
import App from './App.vue'
const axiosInstance = axios.create()
createApp(App)
.use(ElementPlus)
.use(FuzzyInstall, {
componentName: 'VueFuzzy' // 可自定义组件名称
request: axiosInstance, // 请求实例
implResponse: (response: any): ResponseHandler => ({ // map响应对象
data: response.data.data,
success: response.status === 200,
total: response.data.total,
} as FuzzyOptions),
})
.mount('#app')
<template>
<Fuzzy :config="config"/>
</template>
<script lang="ts">
import config from "./config.ts"
</script>
import { FormItemEnum } from './types'
// 单页面配置
// 具体字段配置信息 查看 js docx
const config: TemplateConfiguration = [
api: 'v1.api',
title: 'Fuzzy',
feature: { create: true, delete: true, update: true },
pagination: {
size: 10,
},
templates: [
{
label: '序号',
value: 'serialNumber',
visible: {
table: true,
},
},
{
label: '姓名',
value: 'name',
defaultQueryValue: '我叫fuzzy',
require: true,
visible: {
query: true,
table: true,
create: true,
update: true,
},
render: (row: any) => h('div', { style: 'color: red' }, [row.$index]),
},
{
label: '爱好',
value: 'hobby',
type: FormItemEnum.select,
items: [{ label: '默认', value: 'initial'}],
require: true,
visible: {
query: true,
table: true,
create: true,
update: true,
},
fetchQuery() { // 支持异步加载items
setTimeout(() => {
this.items.push(...[{ label: '打篮球', value: 'bk' }, { label: '踢足球', value: 'bk' }])
}, 500)
},
},
{
label: '时间',
value: 'time',
type: FormItemEnum.datePicker,
visible: {
query: true,
table: true,
create: true,
update: true,
},
},
],
tableOperation: {
show: true,
operator: [
{
label: '自定义',
value: 'diy',
onClick: (row: any) => {
console.log('自定义按钮', row)
},
},
],
},
]
FAQs
On the background management system Fuzzy Provides one - stop add, delete, change and check configurable component
The npm package vue-fuzzy receives a total of 5 weekly downloads. As such, vue-fuzzy popularity was classified as not popular.
We found that vue-fuzzy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.