Using v-show to render different modules, rendering problems occur when specifying width percentages #12715
-
Vue versionvue-version: v3.2.13 @vue/cli: v5.0.8 Link to minimal reproductionSteps to reproduce
What is expected?1.Select the option2,then the ModuleD and ModuleE shuold like the ModuleA normally display What is actually happening?1.Select the option2,then the ModuleD and ModuleE abnormally display System InfoSystem:
OS: Linux 3.10 CentOS Linux 7 (Core)
CPU: (4) x64 Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
Memory: 66.20 MB / 1.78 GB
Container: Yes
Shell: 4.2.46 - /bin/bash
Binaries:
Node: 16.20.2 - /run/user/1000/fnm_multishells/4906_1736908128865/bin/node
npm: 8.19.4 - /run/user/1000/fnm_multishells/4906_1736908128865/bin/npm
Browsers:
Chrome: 124.0.6367.118
npmPackages:
vue: ^3.2.13 => 3.5.13 Any additional comments?1.In the style code area, I commented on the different display results caused by setting different width methods. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I don't think this is a core bug. You should manually call let vwdc = null
function testclick(para) {
//...
nextTick(()=>{
if(vwdc) vwdc.resize()
})
}
//...
vwdc = echarts.init(wdc.value);
//... |
Beta Was this translation helpful? Give feedback.
I don't think this is a core bug. You should manually call
resize()
when the hidden chart shows.