-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert "Revert "fix: camel case match (#632)" (#634)" This reverts commit 33b05c9. * fix: missing last tags
- Loading branch information
Showing
5 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { QRCode } from 'antd'; | ||
|
||
switch(QRCode){ | ||
case QRCode: | ||
console.log('foo'); | ||
default: | ||
console.log('bar') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import _QRCode from "antd/lib/qr-code"; | ||
switch (_QRCode) { | ||
case _QRCode: | ||
console.log('foo'); | ||
default: | ||
console.log('bar'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { SampleUI } from 'antd'; | ||
|
||
switch(SampleUI){ | ||
case SampleUI: | ||
console.log('foo'); | ||
default: | ||
console.log('bar') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import _SampleUI from "antd/lib/sample-ui"; | ||
switch (_SampleUI) { | ||
case _SampleUI: | ||
console.log('foo'); | ||
default: | ||
console.log('bar'); | ||
} |