New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aegis.inc/side-feature-bar

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aegis.inc/side-feature-bar

智能辅助工具

  • 2.6.22
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
2
Weekly downloads
 
Created
Source

side-feature-bar

12368 智能辅助业务组件
开发:常竣 辛宝
接入文档
第一步:安装:
yarn add @aegis_dev/side-feature-bar --registry http://nexus.aegis-info.com/repository/npm-aegis/
或
npm i @aegis_dev/side-feature-bar --registry http://nexus.aegis-info.com/repository/npm-aegis/
第二步:引入:
  • 在 main.js 文件中,引入组件
import SideFeatureBar from 'side-feature-bar'; 
Vue.use(SideFeatureBar);
  • 当前12368系统的登录用户 token 数据存放于 localStorage,组件请求接口,会主动获取token 信息;
第三步:使用:
<template>
  <div class="home">
    <side-feature-bar @value-callback="valueCallback"></side-feature-bar>
  </div>
</template>
<script>
export default {
  name: 'home',
  components: {},
  data () {
    return {
      answer: ''
    };
  },
  methods: {
    valueCallback (data) {
      // 数据回传
      this.answer = data.title;
    }
  }
};
</script>
value-callback:数据回调函数,参数

data: { 
   title: string, // 标题,
   text: string, // 内容, 
   type: string, // 类型(01:坐席助手,02:智能解答,03:法条检索,04:常用语,05:常用链接,06:附件库,07:辅助工具) 
 }

版本

V2.0.0:初始化版本
V2.0.1:加入token验证信息,完善ReadMe.md文档,发布测试版本
V2.0.2:显示隐藏动画、法条选项框添加删除功能

本地开发调试

登录测试环境,从localstorage 复制出 currentUserFull   autoLoginExtention 项目右侧就会出现黄色按钮

FAQs

Package last updated on 03 Sep 2021

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

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