Commit 9318a45e authored by AU-PRO's avatar AU-PRO

add new code: import configure, set useProxies: "never"

parent 70ae2972
'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
......
......@@ -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 {
......
'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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment