The issue is when I load the initial options and make a query in this case i query NO1. I then update the options. After updating the options (clearing them) no1 still appears in the options until i use a non-cached query. So for example if I query o1 it will not show no1 in the options after clearing, because i did not query o1. I think the issue is caching or there might be errors in the code. Either way I am struggling to change the options properly using async mode.
I am simply trying to clear the options when this event is emitted. eventBus.$on('remove_all_options', this.changeOptions);
The issue is when I load the initial options and make a query in this case i query NO1. I then update the options. After updating the options (clearing them) no1 still appears in the options until i use a non-cached query. So for example if I query o1 it will not show no1 in the options after clearing, because i did not query o1. I think the issue is caching or there might be errors in the code. Either way I am struggling to change the options properly using async mode.
I am simply trying to clear the options when this event is emitted. eventBus.$on('remove_all_options', this.changeOptions);
TreeSelect Component HTML
Methods:
method2 loads the initial options
method3 changes the options
});