# vue-antd-tng

> ### 一、系统菜单配置（只需要配置测试环境，正式环境发布的时候会一起同步） 1、创建菜单：运营端平台（https://test-user-fe.eazytec-building.com 账号：admin/Pp@123123）-系统菜单管理 2、授权集成商：运营端平台-集成商管理-菜单授权 3、集成商授权项目：集成商端平台（https://test-member-fe.eazytec-building.com 账号：18068279907/123456）-项目管理，选择对应的项目的查看详情-客户信息-

Latest version **1.0.0** (published 2023-02-22) · 0 weekly downloads

## Install

```sh
npm install vue-antd-tng
pnpm add vue-antd-tng
yarn add vue-antd-tng
bun add vue-antd-tng
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-02-22 |
| First published | 2023-02-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 60 |
| Unpacked size | 20.8 MB |
| Known vulnerabilities | 0 (+34 in 6 direct dependencies) |
| Install scripts | no |
| Maintainers | jiangyh |

## Links

- npm: https://www.npmjs.com/package/vue-antd-tng
- npm.io page: https://npm.io/package/vue-antd-tng

## Dependencies (60)

- [qs](https://npm.io/package/qs.md) ^6.11.0
- [md5](https://npm.io/package/md5.md) ^2.2.1
- [vue](https://npm.io/package/vue.md) 2.7.14
- [vuex](https://npm.io/package/vuex.md) ^3.0.1
- [axios](https://npm.io/package/axios.md) ^0.27.2
- [dayjs](https://npm.io/package/dayjs.md) ^1.8.0
- [three](https://npm.io/package/three.md) ^0.145.0
- [mathjs](https://npm.io/package/mathjs.md) ^11.1.0
- [vue-ls](https://npm.io/package/vue-ls.md) ^3.2.0
- [echarts](https://npm.io/package/echarts.md) ^5.3.3
- [qiankun](https://npm.io/package/qiankun.md) ^2.4.0
- [tinymce](https://npm.io/package/tinymce.md) ^5.10.5
- [@antv/g6](https://npm.io/package/@antv/g6.md) ^4.7.1
- [v-viewer](https://npm.io/package/v-viewer.md) ^1.5.1
- [viewerjs](https://npm.io/package/viewerjs.md) ^1.2.0
- [vue-i18n](https://npm.io/package/vue-i18n.md) ^8.7.0
- [clipboard](https://npm.io/package/clipboard.md) ^2.0.4
- [js-cookie](https://npm.io/package/js-cookie.md) ^3.0.1
- [nprogress](https://npm.io/package/nprogress.md) ^0.2.0
- [viser-vue](https://npm.io/package/viser-vue.md) ^2.4.4
- [vuelidate](https://npm.io/package/vuelidate.md) ^0.7.4
- [apexcharts](https://npm.io/package/apexcharts.md) ^3.35.5
- [codemirror](https://npm.io/package/codemirror.md) ^5.65.9
- [element-ui](https://npm.io/package/element-ui.md) ^2.15.12
- [enquire.js](https://npm.io/package/enquire.js.md) ^2.1.6
- [file-saver](https://npm.io/package/file-saver.md) ^2.0.2
- [insert-css](https://npm.io/package/insert-css.md) ^2.0.0
- [lodash.get](https://npm.io/package/lodash.get.md) ^4.4.2
- [multiparty](https://npm.io/package/multiparty.md) ^4.2.1
- [screenfull](https://npm.io/package/screenfull.md) ^5.1.0
- [sortablejs](https://npm.io/package/sortablejs.md) ^1.15.0
- [vue-loader](https://npm.io/package/vue-loader.md) ^15.7.0
- [vue-router](https://npm.io/package/vue-router.md) ^3.0.1
- [vuex-class](https://npm.io/package/vuex-class.md) ^0.3.1
- [lodash.pick](https://npm.io/package/lodash.pick.md) ^4.4.0
- [view-design](https://npm.io/package/view-design.md) ^4.0.2
- [vue-cropper](https://npm.io/package/vue-cropper.md) ^0.4.8
- [vue2-editor](https://npm.io/package/vue2-editor.md) ^2.10.3
- [vee-validate](https://npm.io/package/vee-validate.md) ^3.2.1
- [vuedraggable](https://npm.io/package/vuedraggable.md) ^2.24.3
- [normalize.css](https://npm.io/package/normalize.css.md) ^8.0.0
- [vue-splitpane](https://npm.io/package/vue-splitpane.md) ^1.0.4
- [@antv/data-set](https://npm.io/package/@antv/data-set.md) ^0.10.2
- [ant-design-vue](https://npm.io/package/ant-design-vue.md) ^1.7.8
- [vue-apexcharts](https://npm.io/package/vue-apexcharts.md) ^1.3.2
- [vue-giant-tree](https://npm.io/package/vue-giant-tree.md) ^0.1.2
- [vue-photo-preview](https://npm.io/package/vue-photo-preview.md) ^1.1.3
- [@toast-ui/calendar](https://npm.io/package/@toast-ui/calendar.md) file:src/components/@toast-ui/calendar
- [vue-class-component](https://npm.io/package/vue-class-component.md) ^6.0.0
- [vue-infinite-scroll](https://npm.io/package/vue-infinite-scroll.md) ^2.0.2
- [@tinymce/tinymce-vue](https://npm.io/package/@tinymce/tinymce-vue.md) ^2.0.0
- [vue-template-compiler](https://npm.io/package/vue-template-compiler.md) 2.7.14
- [@easydarwin/easyplayer](https://npm.io/package/@easydarwin/easyplayer.md) ^5.0.5
- [vue-property-decorator](https://npm.io/package/vue-property-decorator.md) ^7.3.0
- [@amap/amap-jsapi-loader](https://npm.io/package/@amap/amap-jsapi-loader.md) ^1.0.1
- [@rollup/plugin-commonjs](https://npm.io/package/@rollup/plugin-commonjs.md) ^23.0.3
- [quill-image-drop-module](https://npm.io/package/quill-image-drop-module.md) ^1.0.3
- [quill-image-resize-module](https://npm.io/package/quill-image-resize-module.md) ^3.0.0
- [compression-webpack-plugin](https://npm.io/package/compression-webpack-plugin.md) 5.0.1
- [hard-source-webpack-plugin](https://npm.io/package/hard-source-webpack-plugin.md) ^0.13.1

## Recent versions

- 1.0.0 (latest) — 2023-02-22

## README

## 菜单权限
### 一、系统菜单配置（只需要配置测试环境，正式环境发布的时候会一起同步）
1、创建菜单：运营端平台（https://test-user-fe.eazytec-building.com  账号：admin/Pp@123123）-系统菜单管理
2、授权集成商：运营端平台-集成商管理-菜单授权
3、集成商授权项目：集成商端平台（https://test-member-fe.eazytec-building.com  账号：18068279907/123456）-项目管理，选择对应的项目的查看详情-客户信息-修改信息，到开通应用中找到创建的应用，勾选确认

### 二、应用菜单配置（只需要配置测试环境，正式环境发布的时候会一起同步）
1. 第一步：运营端平台-创建应用
   -登录（https://test-user-fe.eazytec-building.com/isystem/app 账号：admin/Pp@123123）
   -进入 产品管理->新增产品（注意‘产品分类’字段，产品分类中包含管理端和用户端，创建的时候确认好是哪边的应用），app端应用需配置产品地址（h5中应用跳转路由）字段，pc端应用创建完成之后在 操作-菜单 中配置菜单信息（参照已有应用配置，注意：类似详情页这种隐藏菜单须勾选隐藏路由开关）
2. 第二步：运营端平台-集成商授权应用
   -进入 集成商管理，选择应用授权
3. 第三步：集成商管理平台-项目授权应用
   -登录（https://test-member-fe.eazytec-building.com 账号：18068279907/123456）
   -进入 项目管理，选择对应的项目的查看详情-客户信息-修改信息，到开通应用中找到创建的应用，勾选确认
4. 应用菜单配置完成，刷新正在开发的项目查看应用菜单是否配置正确



### sockjs-node/info报错
1.找到/node_modules/sockjs-client/dist/sockjs.js 
2.找到代码的 1605行 

  try {
  //  self.xhr.send(payload); 把这里注掉
  } catch (e) {
    self.emit('finish', 0, '');
    self._cleanup(false);
  }

### Vue 框架用户短时间内多次点击同一按钮仅触发一次
利用元素的 disabled 属性和CSS的pointer-events属性，新建自定义指令v-preventClick,默认2s内不能重复点击
使用：
 <el-button @click="changeSetting()" size="medium" type="primary"  v-preventClick="3000">全部设定</el-button> // 3s内不能重复点击

### tip
- 拷贝蓝湖样式时，注意去掉样式中的font-family，否则可能导致font-weight被覆盖
 

### removeEventListener不起作用
1、没有将相同的函数传递给 addEventListener 和 removeEventListener 方法。
2、使用 bind 方法，它在调用 removeEventListener 时返回一个新函数。
3、在与 addEventListener 方法不同的 DOM 元素上调用 removeEventListener。
4、两次注册事件侦听器 – 使用和不使用捕获标志。

---
_Source: https://npm.io/package/vue-antd-tng · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
