Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
teddi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
teddi
Commits
9318a45e
Commit
9318a45e
authored
Feb 05, 2021
by
AU-PRO
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add new code: import configure, set useProxies: "never"
parent
70ae2972
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
mobxState.js
project/src/mobx/mobxState.js
+4
-1
AUPopMobx.jsx
project/src/pop/AUPopMobx/AUPopMobx.jsx
+4
-2
AUState.js
project/src/pop/AUState.js
+3
-3
No files found.
project/src/mobx/mobxState.js
View file @
9318a45e
'use strict'
;
import
{
makeAutoObservable
,
observable
,
computed
,
action
,
runInAction
,
autorun
,
reaction
}
from
'mobx'
import
{
makeAutoObservable
,
observable
,
computed
,
action
,
runInAction
,
autorun
,
reaction
,
configure
}
from
'mobx'
import
{
ConsoFunc
}
from
'./tools'
configure
({
useProxies
:
"never"
})
class
PopState
{
testNum
...
...
project/src/pop/AUPopMobx/AUPopMobx.jsx
View file @
9318a45e
...
...
@@ -2,10 +2,12 @@ import React, { Component } from 'react';
import
popMap
from
'../PopMap.js'
import
{
observer
}
from
'mobx-react-lite'
import
{
toJS
}
from
"mobx"
;
import
{
toJS
,
configure
}
from
"mobx"
;
configure
({
useProxies
:
"never"
})
import
{
Aup
}
from
"../index.js"
import
{
ConsoleStyleComponents
,
ConsoleStyleFlagColor
}
from
'../api/tools.js'
;
import
'./AUPopMobx.less'
class
AUPopMobx
extends
Component
{
...
...
project/src/pop/AUState.js
View file @
9318a45e
'use strict'
;
import
{
makeAutoObservable
,
observable
,
computed
,
action
,
runInAction
,
autorun
,
reaction
,
configure
,
toJS
}
from
'mobx'
import
{
CONSO_START_mark
,
ConsoleStyleTitle
,
ConsoFunc
}
from
'./api/tools'
//
configure({
//
useProxies: "never"
//
})
configure
({
useProxies
:
"never"
})
class
PopState
{
nowShow
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment