mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-29 14:09:31 +08:00
Compare commits
5 Commits
v4.2.3
...
2053491782
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2053491782 | ||
|
|
e128d01b81 | ||
|
|
c3bc0bdb9e | ||
|
|
f1f4e62177 | ||
|
|
472879f9b2 |
@@ -109,6 +109,8 @@ Those who are interested in this project or want to exchange and learn can scan
|
||||
|
||||

|
||||
|
||||
<a href="https://hellogithub.com/repository/0a3e2484b44e481e9dcf1850e45193cd" target="_blank"><img src="https://api.hellogithub.com/v1/widgets/recommend.svg?rid=0a3e2484b44e481e9dcf1850e45193cd&claim_uid=vXGwjpmYNsBex0C" alt="Featured|HelloGitHub" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||
|
||||
## Contribute
|
||||
This project exists thanks to all the people who contribute. [[Contribute](https://github.com/rubickCenter/rubick/graphs/contributors)]. <a href="https://github.com/rubickCenter/rubick/graphs/contributors"><img src="https://opencollective.com/rubick/contributors.svg?width=890&button=false" /></a>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rubick",
|
||||
"version": "4.2.3",
|
||||
"version": "4.2.4",
|
||||
"author": "muwoo <2424880409@qq.com>",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
||||
@@ -25,7 +25,7 @@ export default () => {
|
||||
height: WINDOW_HEIGHT,
|
||||
minHeight: WINDOW_MIN_HEIGHT,
|
||||
useContentSize: true,
|
||||
resizable: true,
|
||||
resizable: false,
|
||||
width: WINDOW_WIDTH,
|
||||
frame: false,
|
||||
title: '拉比克',
|
||||
|
||||
@@ -8,7 +8,7 @@ import useFocus from './clipboardWatch';
|
||||
|
||||
function formatReg(regStr) {
|
||||
const flags = regStr.replace(/.*\/([gimy]*)$/, '$1');
|
||||
const pattern = flags.replace(new RegExp('^/(.*?)/' + flags + '$'), '$1');
|
||||
const pattern = regStr.replace(new RegExp('^/(.*?)/' + flags + '$'), '$1');
|
||||
return new RegExp(pattern, flags);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user