🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ems-low-code-platform

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

ems-low-code-platform

前端-低代码管理平台

unpublished
latest
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

前端-低代码管理平台

  • 最新技术栈:使用 Vue3/vite2 等前端前沿技术开发
  • TypeScript: 应用程序级 JavaScript 的语言
  • 主题:可配置的主题
  • 国际化:内置完善的国际化方案
  • Mock 数据 内置 Mock 数据方案
  • 权限 内置完善的动态路由权限生成方案
  • 组件 二次封装了多个常用的组件

准备

  • nodegit -项目开发环境
  • Vite - 熟悉 vite 特性
  • Vue3 - 熟悉 Vue 基础语法
  • TypeScript - 熟悉TypeScript基本语法
  • Es6+ - 熟悉 es6 基本语法
  • Vue-Router-Next - 熟悉 vue-router 基本使用
  • Ant-Design-Vue - ui 基本使用
  • Mock.js - mockjs 基本语法

安装使用

  • 获取项目代码
git http://10.88.9.30:1000/aux-ems-web/aux-low-code-platform.git
  • 安装依赖
cd aux-low-code-platform
yarn
  • 运行
yarn serve
  • 打包
yarn build
  • 问题解决
  • 1 当topo无法放大缩小时请访问 http://www.jtopo.com/samples/index.html#editor
  • 2 打开F12 查看Sources 找到jtopo_npm文件夹
  • 3 复制core/index editor/js 到本地jtopo_npm文件夹对应的index文件
  • 4 修改 core/index.js 全局搜索 zoomFullStage方法并修改缩放比例如下默认0.85
  zoomFullStage(scale = 0.85) {
    const e = S,
      t = this;
    let x = t[e(383)](),
      s = t.width / x[e(422)],
      i = t[e(442)] / x[e(442)],
      r = Math.min(s, i) * scale,
      o = 0,
      a = 0;
    this.camera.zoomBy(r, o, a), t.translateToCenter();
  }

FAQs

Package last updated on 04 Jan 2025

Did you know?

Socket

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.

Install

Related posts