|
@@ -189,6 +189,9 @@ export default {
|
|
|
console.log('AddAppJson',val);
|
|
|
// 荔园首页工具切换,不缓存工具
|
|
|
if (val.clearL){
|
|
|
+ this.AppJSon.forEach((e) => {
|
|
|
+ this.$set(e, "stateL", false); // 使用 Vue.set 确保响应式
|
|
|
+ });
|
|
|
this.loading = true;
|
|
|
this.clearifa = val.json
|
|
|
// 打开平台工具加载两秒
|
|
@@ -197,6 +200,7 @@ export default {
|
|
|
}, 2000);
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
// 判断有没有打开过这个应用
|
|
|
let data = this.AppJSon.filter((e) => {
|
|
|
return val.toolId == e.toolId;
|