Skip to content

Commit ff3eb3a

Browse files
committed
完成v0.2.3版本
新增如下内容: 1、配置eslint优化组件代码的格式 2、修复selectedClass配置项为其它值时,组件自带的红色选中效果消失的bug
1 parent 5a836be commit ff3eb3a

12 files changed

+1577
-231
lines changed

.eslintrc.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: [
7+
'plugin:vue/recommended',
8+
'@vue/airbnb',
9+
],
10+
parserOptions: {
11+
parser: 'babel-eslint',
12+
},
13+
rules: {
14+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
15+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
16+
'max-len' : ["error", {code : 200}]
17+
},
18+
};

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@ export default{
7272
```
7373

7474
### 兼容性
75-
> 这是基于vue2开发的功能组件,因为没有使用vue2高版本的特性,所以理论上兼容所有的
76-
> vue2版本
75+
> 这是基于vue2开发的功能组件,因为没有使用vue2高版本的特性,所以理论上兼容所有的vue2版本
7776
7877
### github地址
7978
> [v-highlight-component](https://github.com/MOONCOM/v-highlight-component)
79+
80+
### 版本支持
81+
> 已完成基于vue3的高亮组件开发,点击 [vue3-highlight](https://github.com/MOONCOM/vue3-highlight) 进行跳转

dist/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>v-highlight-component</title><link href="js/app.1ab76795.js" rel="preload" as="script"><link href="js/chunk-vendors.809abbbc.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but v-highlight-component doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.809abbbc.js"></script><script src="js/app.1ab76795.js"></script></body></html>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>v-highlight-component</title><link href="js/app.8a6e196f.js" rel="preload" as="script"><link href="js/chunk-vendors.809abbbc.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but v-highlight-component doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.809abbbc.js"></script><script src="js/app.8a6e196f.js"></script></body></html>

dist/js/app.1ab76795.js.map

-1
This file was deleted.

dist/js/app.1ab76795.js dist/js/app.8a6e196f.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)