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

@xm-fe/xm-pc-base

Package Overview
Dependencies
Maintainers
3
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xm-fe/xm-pc-base - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

src/hooks/index.ts

4

package.json
{
"name": "@xm-fe/xm-pc-base",
"version": "0.0.2",
"version": "0.0.3",
"description": "2022 鲜沐pc-base",

@@ -8,3 +8,3 @@ "author": {

},
"main": "./src/components/index.ts",
"main": "./src/index.ts",
"files": [

@@ -11,0 +11,0 @@ "src/"

## ⚡️ 简介
2022 鲜沐科技 manage 前端新系统
2022 鲜沐科技 manage 前端新系统的基础组件包
## 🚀 使用
```
pnpm i @xm-fe/xm-pc-base
```
## 🚀 开发

@@ -21,41 +27,1 @@

```
## ✔️ 预览
```bash
# 预览预发布环境
pnpm preview:stage
# 预览正式环境
pnpm preview:prod
```
## 📦️ 多环境打包
```bash
# 构建预发布环境
pnpm build:stage
# 构建正式环境
pnpm build:prod
```
## 🔧 代码格式检查
```bash
pnpm lint
```
## 功能
- 路由
- api
- 全局提示
- 代码组织结构
- 状态保留(全局&局部 list)
- 图片资源管理
- 组件结构
- style(全局&局部)
- 自动化枚举资源
- 新老系统切换
- 发布部署

@@ -10,3 +10,3 @@ import { App } from 'Vue'

export default {
export const SComponent = {
install: (app: App<Element>) => {

@@ -13,0 +13,0 @@ app.component('SCustomFilter', SCustomFilter)

@@ -1,4 +0,1 @@

import { cityData } from './city'
import { provinceCityData } from './province-city'
import { optionsData } from './optionsData'
import { multCascaderBase, CascaderBase, selectBaseWithSearch, selectMultBase } from './config-base'

@@ -105,3 +102,3 @@ import { remoteSelectBase, selectBase } from './config-base'

base: multCascaderBase,
optionsFn: () => cityData,
optionsFn: () => window._xm_global.getProvinceCityDistrict(),
},

@@ -113,3 +110,3 @@

base: multCascaderBase,
optionsFn: () => provinceCityData,
optionsFn: () => window._xm_global.getProvinceCity(),
},

@@ -116,0 +113,0 @@

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