echarts-bot[bot] commented on issue #16973:
URL: https://github.com/apache/echarts/issues/16973#issuecomment-1115874940

   @Huangpuguang It seems you are not using English, I've helped translate the 
content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] Does not appear in the development environment, after packaging the 
echarts.init instance return value will change to HTML tags after a period of 
time.
   
   **BODY**
   
   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1. Three containers are defined in el-tabs, the first one is displayed by 
default:
   
![image](https://user-images.githubusercontent.com/49988065/166424244-0d989e24-2330-4686-8b18-5cd34cfdc942.png)
   2. Initialize 3 instances separately, and print them:
   
![image](https://user-images.githubusercontent.com/49988065/166424384-67c68b40-9767-495b-9b27-71b6f746d291.png)
   
   
   ### Current Behavior
   
   In the development environment, this piece of code can run correctly, and 
the instances printed before and after the delay are the same, as shown in the 
following figure:
   
![image](https://user-images.githubusercontent.com/49988065/166422733-5e44d69c-5d3c-4f10-b9a2-115615ecd6e7.png)
   
   But after packaging, the following two instances print out HTML tags after a 
delay:
   
![image](https://user-images.githubusercontent.com/49988065/166422991-640f8ffa-24ec-4295-9e3c-90a1c40479a3.png)
   
   Therefore, in the packaged environment, methods such as 
clear\setoption\resize of the latter two instances cannot be called.
   
   
   
   ### Expected Behavior
   
   The instance does not change, and methods such as clear\setoption\resize of 
the instance can be called.
   
   ### Environment
   
   ````markdown
   - OS: win10 home Chinese version 19044.1645
   - Browser: Chrome/100.0.4896.127
   - Framework: [email protected] [email protected] [email protected]
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to