mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-06-06 08:14:02 +00:00
bugfix
This commit is contained in:
parent
8702f666d0
commit
f808e18722
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cc-inspector",
|
"name": "cc-inspector",
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
|
@ -88,7 +88,9 @@ class CCInspector {
|
|||||||
case Msg.LogData: {
|
case Msg.LogData: {
|
||||||
const data: string[] = pluginEvent.data;
|
const data: string[] = pluginEvent.data;
|
||||||
const value = getValue(this.inspectorGameMemoryStorage, data);
|
const value = getValue(this.inspectorGameMemoryStorage, data);
|
||||||
console.log(value);
|
// 直接写console.log会被tree shaking
|
||||||
|
const logFunction = console.log;
|
||||||
|
logFunction(value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Msg.GetObjectItemData: {
|
case Msg.GetObjectItemData: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user