本文翻译自:Angular/RxJs When should I unsubscribe from `Subscription`

When should I store the Subscription instances and invoke unsubscribe() during the NgOnDestroy life cycle and when can I simply ignore them? 在NgOnDestroy生命周期中,什么时候应该存储Subscription实例并调用unsubscribe() ?什么时候可以忽略它们?

Saving all subscriptions introduces a lot of mess into component code. 保存所有订阅会在组件代码中带来很多麻烦。

HTTP Client Guide ignore subscriptions like this: HTTP客户端指南会忽略这样的订阅:

getHeroes() {this.heroService.getHeroes().subscribe(heroes => this.heroes = heroes,error =>  this.errorMessage = <any>error);
}

In the same time Route & Navigation Guide says that: 同时,《 路线与导航指南 》指出:

Eventually, we'll navigate somewhere else. 最终,我们将导航到其他地方。 The router will remove this component from the DOM and destroy it. 路由器将从DOM中删除此组件并销毁它。 We need to clean up after ourselves before that happens. 我们需要在此之前进行自我清理。 Specifically, we must unsubscribe before Angular destroys the component. 具体来说,我们必须在Angular销毁组件之前取消订阅。 Failure to do so could create a memory leak. 否则可能会导致内存泄漏。

We unsubscribe from our Observable in the ngOnDestroy method. 我们通过ngOnDestroy方法取消订阅Observable

private sub: any;ngOnInit() {this.sub = this.route.params.subscribe(params => {let id = +params['id']; // (+) converts string 'id' to a numberthis.service.getHero(id).then(hero => this.hero = hero);});
}ngOnDestroy() {this.sub.unsubscribe();
}

#1楼

参考:https://stackoom.com/question/2ZThe/Angular-RxJs我应该何时退订-Subscription


#2楼

Angular 2 official documentation provides an explanation for when to unsubscribe and when it can be safely ignored. Angular 2官方文档提供了有关何时退订以及何时可以安全忽略的说明。 Have a look at this link: 看一下这个链接:

https://angular.io/docs/ts/latest/cookbook/component-communication.html#!#bidirectional-service https://angular.io/docs/ts/latest/cookbook/component-communication.html#!#bidirectional-service

Look for the paragraph with the heading Parent and children communicate via a service and then the blue box: 查找标题为“ 父母和子女通过服务进行交流”的段落,然后显示蓝色框:

Notice that we capture the subscription and unsubscribe when the AstronautComponent is destroyed. 请注意,当AstronautComponent被销毁时,我们捕获了订阅并取消订阅。 This is a memory-leak guard step. 这是内存泄漏保护措施。 There is no actual risk in this app because the lifetime of a AstronautComponent is the same as the lifetime of the app itself. 此应用程序没有实际风险,因为AstronautComponent的寿命与应用程序本身的寿命相同。 That would not always be true in a more complex application. 在更复杂的应用程序中,并非总是如此。

We do not add this guard to the MissionControlComponent because, as the parent, it controls the lifetime of the MissionService. 我们不将此防护添加到MissionControlComponent中,因为它作为父级控制着MissionService的生命周期。

I hope this helps you. 我希望这可以帮助你。


#3楼

It depends. 这取决于。 If by calling someObservable.subscribe() , you start holding up some resource that must be manually freed-up when the lifecycle of your component is over, then you should call theSubscription.unsubscribe() to prevent memory leak. 如果通过调用someObservable.subscribe()开始保存一些资源,这些资源在组件的生命周期结束时必须手动释放,则应调用theSubscription.unsubscribe()以防止内存泄漏。

Let's take a closer look at your examples: 让我们仔细看看您的示例:

getHero() returns the result of http.get() . getHero()返回的结果http.get() If you look into the angular 2 source code , http.get() creates two event listeners: 如果查看angular 2 源代码 ,则http.get()创建两个事件侦听器:

_xhr.addEventListener('load', onLoad);
_xhr.addEventListener('error', onError);

and by calling unsubscribe() , you can cancel the request as well as the listeners: 通过调用unsubscribe() ,您可以取消请求以及侦听器:

_xhr.removeEventListener('load', onLoad);
_xhr.removeEventListener('error', onError);
_xhr.abort();

Note that _xhr is platform specific but I think it's safe to assume that it is an XMLHttpRequest() in your case. 请注意, _xhr是特定_xhr平台的,但是我认为可以安全地假定它是XMLHttpRequest()

Normally, this is enough evidence to warrant a manual unsubscribe() call. 通常,这足以保证手动进行unsubscribe()调用。 But according this WHATWG spec , the XMLHttpRequest() is subject to garbage collection once it is "done", even if there are event listeners attached to it. 但是根据此WHATWG规范 , XMLHttpRequest()一旦“完成”,就将进行垃圾回收,即使已附加事件侦听器也是如此。 So I guess that's why angular 2 official guide omits unsubscribe() and lets GC clean up the listeners. 所以我想这就是为什么angular 2官方指南省略了unsubscribe()并让GC清理监听器的原因。

As for your second example, it depends on the implementation of params . 至于第二个示例,它取决于params的实现。 As of today, the angular official guide no longer shows unsubscribing from params . 从今天起,有角度的官方指南不再显示对params取消订阅。 I looked into src again and found that params is a just a BehaviorSubject . 我再次查看了src ,发现params只是一个BehaviorSubject 。 Since no event listeners or timers were used, and no global variables were created, it should be safe to omit unsubscribe() . 由于没有使用事件侦听器或计时器,也没有创建全局变量,因此省略unsubscribe()应该是安全的。

The bottom line to your question is that always call unsubscribe() as a guard against memory leak, unless you are certain that the execution of the observable doesn't create global variables, add event listeners, set timers, or do anything else that results in memory leaks. 您问题的底线是,始终调用unsubscribe()来防止内存泄漏,除非您确定observable的执行不会创建全局变量,添加事件侦听器,设置计时器或执行任何其他导致结果的操作在内存泄漏。

When in doubt, look into the implementation of that observable. 如有疑问,请查看该可观察的实现。 If the observable has written some clean up logic into its unsubscribe() , which is usually the function that is returned by the constructor, then you have good reason to seriously consider calling unsubscribe() . 如果可观察对象已在其unsubscribe()编写了一些清理逻辑,通常是构造函数返回的函数,则您有充分的理由认真考虑调用unsubscribe()


#4楼

--- Edit 4 - Additional Resources (2018/09/01) -编辑4-其他资源(2018/09/01)

In a recent episode of Adventures in Angular Ben Lesh and Ward Bell discuss the issues around how/when to unsubscribe in a component. 在最近的《 Angular冒险》中, Ben Lesh和Ward Bell讨论了如何/何时取消订阅组件中的问题。 The discussion starts at about 1:05:30. 讨论从大约1:05:30开始。

Ward mentions right now there's an awful takeUntil dance that takes a lot of machinery and Shai Reznik mentions Angular handles some of the subscriptions like http and routing . 沃德(Ward) right now there's an awful takeUntil dance that takes a lot of machinery提到right now there's an awful takeUntil dance that takes a lot of machinery而Shai Reznik则提到Angular handles some of the subscriptions like http and routing

In response Ben mentions that there are discussions right now to allow Observables to hook into the Angular component lifecycle events and Ward suggests an Observable of lifecycle events that a component could subscribe to as a way of knowing when to complete Observables maintained as component internal state. 作为回应,Ben提到,现在正在进行讨论,以允许Obse​​rvables参与Angular组件的生命周期事件,Ward建议组件可以订阅的Observable生命周期事件,以了解何时完成以组件内部状态维护的Observables。

That said, we mostly need solutions now so here are some other resources. 就是说,我们现在最需要解决方案,因此这里有一些其他资源。

  1. A recommendation for the takeUntil() pattern from RxJs core team member Nicholas Jamieson and a tslint rule to help enforce it. 来自RxJs核心团队成员Nicholas Jamieson的takeUntil()模式的建议,以及一条有助于实施的tslint规则。 https://blog.angularindepth.com/rxjs-avoiding-takeuntil-leaks-fb5182d047ef https://blog.angularindepth.com/rxjs-avoiding-takeuntil-leaks-fb5182d047ef

  2. Lightweight npm package that exposes an Observable operator that takes a component instance ( this ) as a parameter and automatically unsubscribes during ngOnDestroy . 轻量级npm软件包,它公开一个Observable运算符,该运算符将组件实例( this )作为参数,并在ngOnDestroy期间自动取消订阅。 https://github.com/NetanelBasal/ngx-take-until-destroy https://github.com/NetanelBasal/ngx-take-until-destroy

  3. Another variation of the above with slightly better ergonomics if you are not doing AOT builds (but we should all be doing AOT now). 如果您不进行AOT构建,则上述方法的另一个变化是人体工程学要好一些(但我们现在都应该进行AOT)。 https://github.com/smnbbrv/ngx-rx-collector https://github.com/smnbbrv/ngx-rx-collector

  4. Custom directive *ngSubscribe that works like async pipe but creates an embedded view in your template so you can refer to the 'unwrapped' value throughout your template. 自定义指令*ngSubscribe工作方式类似于异步管道,但在模板中创建了嵌入式视图,因此您可以在整个模板中引用“ unwrapped”值。 https://netbasal.com/diy-subscription-handling-directive-in-angular-c8f6e762697f https://netbasal.com/diy-subscription-handling-directive-in-angular-c8f6e762697f

I mention in a comment to Nicholas' blog that over-use of takeUntil() could be a sign that your component is trying to do too much and that separating your existing components into Feature and Presentational components should be considered. 我在Nicholas博客的评论中提到,过度使用takeUntil()可能表明您的组件正在尝试做太多事情,应该考虑将现有组件分为FeaturePresentational组件。 You can then | async 然后,您可以| async | async the Observable from the Feature component into an Input of the Presentational component, which means no subscriptions are necessary anywhere. 将Observable从Feature组件| async到Presentational组件的Input中,这意味着在任何地方都不需要订阅。 Read more about this approach here 在此处阅读有关此方法的更多信息

--- Edit 3 - The 'Official' Solution (2017/04/09) -编辑3-``官方''解决方案(2017/04/09)

I spoke with Ward Bell about this question at NGConf (I even showed him this answer which he said was correct) but he told me the docs team for Angular had a solution to this question that is unpublished (though they are working on getting it approved). 我在NGConf上与Ward Bell讨论了这个问题(我什至向他展示了这个答案,他说的是正确的),但他告诉我Angular的文档小组对这个问题尚未解决(尽管他们正在努力使它得到批准) )。 He also told me I could update my SO answer with the forthcoming official recommendation. 他还告诉我,我可以通过即将提出的官方建议来更新我的SO答案。

The solution we should all use going forward is to add a private ngUnsubscribe = new Subject(); 今后我们应该使用的解决方案是添加一个private ngUnsubscribe = new Subject(); field to all components that have .subscribe() calls to Observable s within their class code. 所有在其类代码中具有.subscribe()调用Observable的组件的字段。

We then call this.ngUnsubscribe.next(); this.ngUnsubscribe.complete(); 然后,我们将其称为this.ngUnsubscribe.next(); this.ngUnsubscribe.complete(); this.ngUnsubscribe.next(); this.ngUnsubscribe.complete(); in our ngOnDestroy() methods. 在我们的ngOnDestroy()方法中。

The secret sauce (as noted already by @metamaker ) is to call takeUntil(this.ngUnsubscribe) before each of our .subscribe() calls which will guarantee all subscriptions will be cleaned up when the component is destroyed. 秘密之处(如@metamaker所述 )是在我们每个.subscribe()调用之前调用takeUntil(this.ngUnsubscribe) ,这将确保在销毁组件时清除所有订阅。

Example: 例:

import { Component, OnDestroy, OnInit } from '@angular/core';
// RxJs 6.x+ import paths
import { filter, startWith, takeUntil } from 'rxjs/operators';
import { Subject } from 'rxjs';
import { BookService } from '../books.service';@Component({selector: 'app-books',templateUrl: './books.component.html'
})
export class BooksComponent implements OnDestroy, OnInit {private ngUnsubscribe = new Subject();constructor(private booksService: BookService) { }ngOnInit() {this.booksService.getBooks().pipe(startWith([]),filter(books => books.length > 0),takeUntil(this.ngUnsubscribe)).subscribe(books => console.log(books));this.booksService.getArchivedBooks().pipe(takeUntil(this.ngUnsubscribe)).subscribe(archivedBooks => console.log(archivedBooks));}ngOnDestroy() {this.ngUnsubscribe.next();this.ngUnsubscribe.complete();}
}

Note: It's important to add the takeUntil operator as the last one to prevent leaks with intermediate observables in the operator chain. 注意:重要的是,将takeUntil运算符添加为最后一个,以防止运算符链中的中间可观察对象泄漏。

--- Edit 2 (2016/12/28) -编辑2(2016/12/28)

Source 5 来源5

The Angular tutorial, the Routing chapter now states the following: "The Router manages the observables it provides and localizes the subscriptions. The subscriptions are cleaned up when the component is destroyed, protecting against memory leaks, so we don't need to unsubscribe from the route params Observable." Angular教程的“路由”一章现在指出以下内容:“路由器管理它提供的可观察对象并本地化订阅。在销毁组件时清理订阅,以防止内存泄漏,因此我们无需取消订阅路线参数可观察到。” - Mark Rajcok -Mark Rajcok

Here's a discussion on the Github issues for the Angular docs regarding Router Observables where Ward Bell mentions that clarification for all of this is in the works. 这是针对有关Router Observables的Angular文档的Github问题的讨论 ,Ward Bell提到正在为所有这些问题进行澄清。

--- Edit 1 -编辑1

Source 4 来源4

In this video from NgEurope Rob Wormald also says you do not need to unsubscribe from Router Observables. 在NgEurope的这段视频中, Rob Wormald还说您不需要取消订阅Router Observables。 He also mentions the http service and ActivatedRoute.params in this video from November 2016 . 他还从2016年11月开始在此视频中提到了http服务和ActivatedRoute.params

--- Original Answer ---原始答案

TLDR: TLDR:

For this question there are (2) kinds of Observables - finite value and infinite value. 对于此问题,有(2)种Observables值- 有限值和无限值。

http Observables produce finite (1) values and something like a DOM event listener Observables produce infinite values. http Observables产生有限 (1)值,类似DOM event listener东西Observables产生无限值。

If you manually call subscribe (not using async pipe), then unsubscribe from infinite Observables . 如果您手动调用subscribe (不使用异步管道),则unsubscribe 无限的 Observables

Don't worry about finite ones, RxJs will take care of them. 不必担心有限RxJs会照顾他们。

Source 1 来源1

I tracked down an answer from Rob Wormald in Angular's Gitter here . 我在这里从Angular的Gitter中找到了 Rob Wormald的答案。

He states (i reorganized for clarity and emphasis is mine) 他指出(为清晰起见,我进行了重组,重点是我的)

if its a single-value-sequence (like an http request) the manual cleanup is unnecessary (assuming you subscribe in the controller manually) 如果它是单值序列 (例如http请求), 则不需要手动清理 (假设您手动订阅了控制器)

i should say "if its a sequence that completes " (of which single value sequences, a la http, are one) 我应该说“如果它是一个完成序列 ”(其中一个单值序列,例如la http,是一个)

if its an infinite sequence , you should unsubscribe which the async pipe does for you 如果它是无限序列则应退订异步管道为您执行的操作

Also he mentions in this youtube video on Observables that they clean up after themselves ... in the context of Observables that complete (like Promises, which always complete because they are always producing 1 value and ending - we never worried about unsubscribing from Promises to make sure they clean up xhr event listeners, right?). 他还在YouTube上有关Observables的视频中提到, they clean up after themselves ……在complete的Observables的背景下(例如Promises,由于它们始终产生1值并结束,因此它们总是完成-我们从不担心从Promises退订到确保他们清理了xhr事件监听器,对吗?)。

Source 2 来源2

Also in the Rangle guide to Angular 2 it reads 同样在Angular 2的Rangle指南中

In most cases we will not need to explicitly call the unsubscribe method unless we want to cancel early or our Observable has a longer lifespan than our subscription. 在大多数情况下,除非我们想提早取消或Observable的寿命比订阅的寿命长,否则我们无需显式调用unsubscribe方法。 The default behavior of Observable operators is to dispose of the subscription as soon as .complete() or .error() messages are published. Observable运算符的默认行为是在发布.complete()或.error()消息后立即处理订阅。 Keep in mind that RxJS was designed to be used in a "fire and forget" fashion most of the time. 请记住,RxJS被设计为大多数时候以“即弃即用”的方式使用。

When does the phrase our Observable has a longer lifespan than our subscription apply? 什么时候our Observable has a longer lifespan than our subscription短语our Observable has a longer lifespan than our subscription

It applies when a subscription is created inside a component which is destroyed before (or not 'long' before) the Observable completes. 它适用于在组件内部创建预订,而该组件在Observable完成之前被销毁(或未“长久”)的情况。

I read this as meaning if we subscribe to an http request or an observable that emits 10 values and our component is destroyed before that http request returns or the 10 values have been emitted, we are still ok! 我的意思是,如果我们订阅一个http请求或一个发出10个值的可观察对象,并且在该http请求返回或发出10个值之前销毁了我们的组件,我们还是可以的!

When the request does return or the 10th value is finally emitted the Observable will complete and all resources will be cleaned up. 当请求确实返回或最终发出第十个值时, Observable将完成,所有资源将被清理。

Source 3 来源3

If we look at this example from the same Rangle guide we can see that the Subscription to route.params does require an unsubscribe() because we don't know when those params will stop changing (emitting new values). 如果我们从相同的Rangle指南中查看此示例 ,则可以看到对route.paramsSubscription确实需要unsubscribe()因为我们不知道这些params何时会停止更改(发出新值)。

The component could be destroyed by navigating away in which case the route params will likely still be changing (they could technically change until the app ends) and the resources allocated in subscription would still be allocated because there hasn't been a completion . 通过导航可以破坏该组件,在这种情况下,路由参数可能仍会更改(它们可能会在技术上更改,直到应用结束),并且由于尚未completion因此仍将分配订阅中分配的资源。


#5楼

You don't need to have bunch of subscriptions and unsubscribe manually. 您不需要一堆订阅并手动取消订阅。 Use Subject and takeUntil combo to handle subscriptions like a boss: 使用Subject和takeUntil组合可像老板一样处理订阅:

import { Subject } from "rxjs"
import { takeUntil } from "rxjs/operators"@Component({moduleId: __moduleName,selector: "my-view",templateUrl: "../views/view-route.view.html"
})
export class ViewRouteComponent implements OnInit, OnDestroy {componentDestroyed$: Subject<boolean> = new Subject()constructor(private titleService: TitleService) {}ngOnInit() {this.titleService.emitter1$.pipe(takeUntil(this.componentDestroyed$)).subscribe((data: any) => { /* ... do something 1 */ })this.titleService.emitter2$.pipe(takeUntil(this.componentDestroyed$)).subscribe((data: any) => { /* ... do something 2 */ })//...this.titleService.emitterN$.pipe(takeUntil(this.componentDestroyed$)).subscribe((data: any) => { /* ... do something N */ })}ngOnDestroy() {this.componentDestroyed$.next(true)this.componentDestroyed$.complete()}
}

Alternative approach , which was proposed by @acumartini in comments , uses takeWhile instead of takeUntil . @acumartini在评论中提出的 替代方法使用takeWhile而不是takeUntil 。 You may prefer it, but mind that this way your Observable execution will not be cancelled on ngDestroy of your component (eg when you make time consuming calculations or wait for data from server). 您可能更喜欢它,但是请注意,这样一来,您的组件的ngDestroy上的Observable执行将不会被取消(例如,当您进行耗时的计算或等待服务器中的数据时)。 Method, which is based on takeUntil , doesn't have this drawback and leads to immediate cancellation of request. 基于takeUntil的方法没有此缺点,并导致立即取消请求。 Thanks to @AlexChe for detailed explanation in comments . 感谢@AlexChe在评论中提供详细的解释 。

So here is the code: 所以这是代码:

@Component({moduleId: __moduleName,selector: "my-view",templateUrl: "../views/view-route.view.html"
})
export class ViewRouteComponent implements OnInit, OnDestroy {alive: boolean = trueconstructor(private titleService: TitleService) {}ngOnInit() {this.titleService.emitter1$.pipe(takeWhile(() => this.alive)).subscribe((data: any) => { /* ... do something 1 */ })this.titleService.emitter2$.pipe(takeWhile(() => this.alive)).subscribe((data: any) => { /* ... do something 2 */ })// ...this.titleService.emitterN$.pipe(takeWhile(() => this.alive)).subscribe((data: any) => { /* ... do something N */ })}// Probably, this.alive = false MAY not be required here, because// if this.alive === undefined, takeWhile will stop. I// will check it as soon, as I have time.ngOnDestroy() {this.alive = false}
}

#6楼

I tried seangwright's solution (Edit 3) 我尝试了seangwright的解决方案(编辑3)

That is not working for Observable that created by timer or interval. 这不适用于计时器或时间间隔创建的Observable。

However, i got it working by using another approach: 但是,我通过使用另一种方法使其工作:

import { Component, OnDestroy, OnInit } from '@angular/core';
import 'rxjs/add/operator/takeUntil';
import { Subject } from 'rxjs/Subject';
import { Subscription } from 'rxjs/Subscription';
import 'rxjs/Rx';import { MyThingService } from '../my-thing.service';@Component({selector: 'my-thing',templateUrl: './my-thing.component.html'
})
export class MyThingComponent implements OnDestroy, OnInit {private subscriptions: Array<Subscription> = [];constructor(private myThingService: MyThingService,) { }ngOnInit() {const newSubs = this.myThingService.getThings().subscribe(things => console.log(things));this.subscriptions.push(newSubs);}ngOnDestroy() {for (const subs of this.subscriptions) {subs.unsubscribe();}}
}
查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. Angular RxJS Subject主体

    RxJS SubjectSubject与Observable的区别Subject作可观察对象Subject作观察者Subject与Observable的区别 Subject是多播的&#xff0c;可以把值推送给多个观察者&#xff1b;Observable是单播的。Subject既可以做可观察对象&#xff0c;又可以做观察者 Subject作可观察对象 /…...

    2024/4/21 11:29:21
  2. Angular应用里使用rxjs提供的观察者和发布者实现事件处理

    比SAP的UI5 event bus要复杂些 调用栈1&#xff1a;应用代码里&#xff0c;抛出sendData的事件&#xff0c;参数为下图调试器里的json对象&#xff1a; 调用栈2&#xff1a;还是在应用层代码内&#xff1a; this._eventBus new Subject(); broadcast方法的实现是将执行转交给…...

    2024/5/6 9:54:55
  3. Angular使用总结 --- 搜索场景中使用rxjs的操作符

    在有input输入框的搜索/过滤业务中&#xff0c;总会考虑如何减少发起请求频率&#xff0c;尽量使每次的请求都是有效的。节流和防抖是比较常见的做法&#xff0c;这类函数的实现方式也不难&#xff0c;不过终归还是需要自己封装。rxjs提供了各种操作符 &#xff0c; 可以很快捷…...

    2024/4/21 10:54:18
  4. AngularJS进阶 三十五 浏览器兼容性解决之道

    浏览器兼容性解决之道前言浏览器兼容性一直是前端开发中不得不面对的一个问题。而最突出的就是IE。对绝大多数公司来说&#xff0c;兼容IE6的性价比已经很低&#xff0c;而IE7则几乎已经绝迹。所以&#xff0c;常见的兼容性下限是IE8。这也正是Angular1.2x的兼容性目标&#xf…...

    2024/4/21 7:43:54
  5. 处理urlSearchParams的兼容

    cmd中找到cd到你文件位置&#xff0c;执行下面命令: npm install url-search-params-polyfill --save文件入口js中引入 import url-search-params-polyfill;...

    2024/4/21 17:03:40
  6. AngularJS 的 IE 兼容性 【已翻译100%】

    备注&#xff1a;AngularJS 1.3抛弃了对IE8的支持。可以在我们的博客上了解更多内容。AngularJS 1.2将继续支持IE8&#xff0c;但核心团队已经不打算在解决IE8及之前版本的问题上花时间。 本文档介绍了互联网浏览器&#xff08;IE&#xff09;在处理自定义HTML标签及属性时的特…...

    2024/4/21 4:46:22
  7. angular ng-show ng-hide的兼容性问题

    这两天遇到一个非常奇怪的bug,就是angular directive指令写的组件当中用到了ng-hide \ ng-show 等表达式&#xff0c;但写好的指令在chrome中运行良好&#xff0c;但在 safari 或者 IE浏览器中则 NG-HIDE \ NG-SHOW 无法正常工作&#xff0c;导致不相关的DOM显示在页面当中。请…...

    2024/5/6 5:54:45
  8. angular - Polyfills(腻子脚本)

    说明&#xff1a; Polyfills&#xff08;腻子脚本&#xff09;主要支持低版本浏览器的兼容。 对于腻子脚本Polyfills对补充Internet Explorer的不足和缺失尤其有用,主要针对IE7/8的兼容。下面常用的腻子脚本示例&#xff1a; html5shiv.js&#xff1a;让IE8 及更低版本的IE 识别…...

    2024/4/21 11:26:05
  9. angular6 实现全屏,退出全屏,监听esc事件更换相应图标

    全屏和退出全屏 注意error TS2339: Property mozRequestFullScreen does not exist on type HTMLElement.类似相关错误&#xff0c;处理办法 //全屏 const docElmWithBrowsersFullScreenFunctions document.documentElement as HTMLElement & {mozRequestFullScreen(): …...

    2024/4/21 10:38:40
  10. 判断各种ie方法,用来解决兼容性

    1.var isIE !!window.ActiveXObject; 2.var isIE6 isIE && !window.XMLHttpRequest; 3.var isIE8 isIE && !!document.documentMode; 4.var isIE7 isIE && !isIE6 && !isIE8; js里判断ie与非ie最短写法&#xff1a; var ie !-[1,];...

    2024/4/21 22:15:09
  11. IE9兼容性CSS之一transform:rotate

    项目总的框架是用angular js &#xff0c;因为angular js 本身只兼容到IE9&#xff0c;所以IE9以下我们就不加考虑&#xff0c;在浏览器版本低于IE9以下给出提示框让小部分用户能够去下载grome的一个插件&#xff0c;以此来渲染IE以google 模式运行&#xff0c;要不升级浏览器。…...

    2024/4/21 10:03:32
  12. 关于浏览器兼容性

    作为一个前端初学者&#xff0c;一直不想谈的话题就是浏览器的兼容性。 因为在盒模型中&#xff0c;要考虑浏览器兼容&#xff1b; 还有最近发现button属性、a属性&#xff0c;ie都有问题&#xff0c;让我想想ie还有什么幺蛾子。 今天就做一个总结吧。 总结完了&#xff0c…...

    2024/4/21 4:59:28
  13. jquery ajax跨域请求 ie的兼容性问题

    下载跨域请求插件&#xff1a;jquery.xdomainrequest.min.js说明&#xff1a; 1. 使用 jquery.ajax 发送请求&#xff0c;jQuery 版本需在 1.5 2. 服务端需设置 header&#xff1a;header(Access-Control-Allow-Origin:http://angular.js); 3. 请求方式仅限&#xff1a;GET / P…...

    2024/4/21 14:49:50
  14. IE浏览器下载图片直接打开的问题

    使用IE浏览器下载图片直接打开的解决方法 两个部分的内容&#xff1a; ng alain中的下载文件模块的组件的引用webpack打包遇到的一个问题 ng alain 链接如下&#xff1a;查看ng alain插件 完美解决ie浏览器下载图片直接打开的问题 webpack打包遇到的一个问题 Unexpected …...

    2024/4/21 9:32:04
  15. Angular DAY03

    Angular03 回顾 • 命令行 创建项目包 ng new 项目名启动命令 ng s 或 ng s -o生成组件 ng g c 组件名生成管道 ng g p 管道名生成指令 ng g d 指令名• angular用法 双标签内容: {{}}属性: [属性名]值 或 属性名"{{ 值 }}" 事件: (事件名)方法名() 双向数据绑…...

    2024/4/24 6:26:37
  16. Angular rxjs Subject笔记

    BehaviorSubject /*ehaviorSubject接受一个默认参数,相当于new Subject后自动next(aa)之后到行为和Subject一致 */ const behave = new BehaviorSubject(aa); behave.subscribe(res => {console.log(res)...

    2024/4/23 8:54:52
  17. 前端高效开发框架技术(疫情会不会大暴发 听听钟南山怎么说)

    &#xff08;给达达前端加星标&#xff0c;提升前端技能&#xff09;不用怕https://v.qq.com/x/cover/mzc002004ceupu5/y3058p0xcr6.html内容有点多&#xff0c;也请你静下来&#xff0c;慢阅读&#xff0c;今后多多关照。Vue框架基础知识mvx模式介绍&#xff0c;x这里代表是未…...

    2024/5/4 12:23:45
  18. Build Your Own Angularjs 读书笔记(AngularJS牛逼的地方在于它内嵌了一个表达式到Function对象的编译器。。。当然还有DI框架)

    Build Your Own Angularjs 读书笔记 目录 [隐藏] 1 项目配置2 作用域3 表达式与过滤器4 模块与依赖注入5 辅助函数6 指令 项目配置[编辑] npm package.jsonLo-Dash, jQuery&#xff1a;不依赖&#xff0c;如果有就代理使用 _.template("Hello, <% name %>!")(…...

    2024/4/23 14:38:01
  19. vue的基本使用

    MVVM 实现MVVM设计思想的框架&#xff0c;基本上都完成对DOM功能的极限封装&#xff0c;开发者几乎不用操作js-dom就可以完成页面的数据的关联交换。 Vue的简介 vue是一套用于构建用户界面的渐进式框架 vue的核心库只关注视图层&#xff0c;不仅容易上手&#xff0c;还便于…...

    2024/4/24 1:53:56
  20. angularjs表单验证_如何在AngularJS中创建基于表单的指令

    angularjs表单验证对用户提交的数据强制执行复杂的业务约束给许多开发人员带来了独特的挑战。 最近&#xff0c;我和我的团队在Gift Gifts.c​​om上编写应用程序时面临着这样的挑战。 我们需要找到一种方法&#xff0c;允许我们的客户在我们的应用程序内的单个视图中编辑多个产…...

    2024/4/23 19:51:23

最新文章

  1. 【汇编语言常用指令】基于Intel8086

    一、寄存器 8086 CPU有14个16位的寄存器&#xff0c;这些寄存器可以分为以下几类&#xff1a; 通用寄存器&#xff1a;AX, BX, CX, DX。这些寄存器通常用于算术和逻辑运算&#xff0c;以及数据传送等操作。索引和基址寄存器&#xff1a;SI, DI, BP, BX。这些寄存器通常用于间…...

    2024/5/6 13:19:11
  2. 梯度消失和梯度爆炸的一些处理方法

    在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言&#xff0c;在此感激不尽。 权重和梯度的更新公式如下&#xff1a; w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...

    2024/5/6 9:38:23
  3. 6.9物联网RK3399项目开发实录-驱动开发之PWM的使用(wulianjishu666)

    嵌入式实战开发例程&#xff0c;珍贵资料&#xff0c;开发必备&#xff1a; 链接&#xff1a;https://pan.baidu.com/s/1149x7q_Yg6Zb3HN6gBBAVA?pwdhs8b PWM 使用 前言 AIO-3399J 开发板上有 4 路 PWM 输出&#xff0c;分别为 PWM0 ~ PWM3&#xff0c;4 路 PWM 分别使用在…...

    2024/5/4 19:25:01
  4. windows更新驱动导致Linux虚拟机网卡找不到

    windows更新驱动导致Linux虚拟机网卡找不到 1、现象2、解决过程3、参考 1、现象 原先虚拟机配置了静态IP&#xff0c;更新windows驱动后xshell连接不上这台虚拟机&#xff08;其他几台也是&#xff09;。 2、解决过程 service network restart出现一下报错&#xff1a; Rest…...

    2024/5/5 8:45:04
  5. 【外汇早评】美通胀数据走低,美元调整

    原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...

    2024/5/4 23:54:56
  6. 【原油贵金属周评】原油多头拥挤,价格调整

    原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...

    2024/5/4 23:54:56
  7. 【外汇周评】靓丽非农不及疲软通胀影响

    原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...

    2024/5/4 23:54:56
  8. 【原油贵金属早评】库存继续增加,油价收跌

    原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...

    2024/5/6 9:21:00
  9. 【外汇早评】日本央行会议纪要不改日元强势

    原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...

    2024/5/4 23:54:56
  10. 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响

    原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...

    2024/5/4 23:55:05
  11. 【外汇早评】美欲与伊朗重谈协议

    原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...

    2024/5/4 23:54:56
  12. 【原油贵金属早评】波动率飙升,市场情绪动荡

    原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...

    2024/5/4 23:55:16
  13. 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试

    原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...

    2024/5/4 23:54:56
  14. 【原油贵金属早评】市场情绪继续恶化,黄金上破

    原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...

    2024/5/6 1:40:42
  15. 【外汇早评】美伊僵持,风险情绪继续升温

    原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...

    2024/5/4 23:54:56
  16. 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势

    原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...

    2024/5/4 23:55:17
  17. 氧生福地 玩美北湖(上)——为时光守候两千年

    原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...

    2024/5/4 23:55:06
  18. 氧生福地 玩美北湖(中)——永春梯田里的美与鲜

    原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...

    2024/5/4 23:54:56
  19. 氧生福地 玩美北湖(下)——奔跑吧骚年!

    原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...

    2024/5/4 23:55:06
  20. 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!

    原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...

    2024/5/5 8:13:33
  21. 「发现」铁皮石斛仙草之神奇功效用于医用面膜

    原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...

    2024/5/4 23:55:16
  22. 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者

    原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...

    2024/5/4 23:54:58
  23. 广州械字号面膜生产厂家OEM/ODM4项须知!

    原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...

    2024/5/4 23:55:01
  24. 械字号医用眼膜缓解用眼过度到底有无作用?

    原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...

    2024/5/4 23:54:56
  25. 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...

    解析如下&#xff1a;1、长按电脑电源键直至关机&#xff0c;然后再按一次电源健重启电脑&#xff0c;按F8健进入安全模式2、安全模式下进入Windows系统桌面后&#xff0c;按住“winR”打开运行窗口&#xff0c;输入“services.msc”打开服务设置3、在服务界面&#xff0c;选中…...

    2022/11/19 21:17:18
  26. 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。

    %读入6幅图像&#xff08;每一幅图像的大小是564*564&#xff09; f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...

    2022/11/19 21:17:16
  27. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...

    win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面&#xff0c;在等待界面中我们需要等待操作结束才能关机&#xff0c;虽然这比较麻烦&#xff0c;但是对系统进行配置和升级…...

    2022/11/19 21:17:15
  28. 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...

    有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows&#xff0c;请勿关闭计算机”的提示&#xff0c;要过很久才能进入系统&#xff0c;有的用户甚至几个小时也无法进入&#xff0c;下面就教大家这个问题的解决方法。第一种方法&#xff1a;我们首先在左下角的“开始…...

    2022/11/19 21:17:14
  29. win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...

    置信有很多用户都跟小编一样遇到过这样的问题&#xff0c;电脑时发现开机屏幕显现“正在配置Windows Update&#xff0c;请勿关机”(如下图所示)&#xff0c;而且还需求等大约5分钟才干进入系统。这是怎样回事呢&#xff1f;一切都是正常操作的&#xff0c;为什么开时机呈现“正…...

    2022/11/19 21:17:13
  30. 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...

    Win7系统开机启动时总是出现“配置Windows请勿关机”的提示&#xff0c;没过几秒后电脑自动重启&#xff0c;每次开机都这样无法进入系统&#xff0c;此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一&#xff1a;开机按下F8&#xff0c;在出现的Windows高级启动选…...

    2022/11/19 21:17:12
  31. 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...

    有不少windows10系统用户反映说碰到这样一个情况&#xff0c;就是电脑提示正在准备windows请勿关闭计算机&#xff0c;碰到这样的问题该怎么解决呢&#xff0c;现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法&#xff1a;1、2、依次…...

    2022/11/19 21:17:11
  32. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...

    今天和大家分享一下win7系统重装了Win7旗舰版系统后&#xff0c;每次关机的时候桌面上都会显示一个“配置Windows Update的界面&#xff0c;提示请勿关闭计算机”&#xff0c;每次停留好几分钟才能正常关机&#xff0c;导致什么情况引起的呢&#xff1f;出现配置Windows Update…...

    2022/11/19 21:17:10
  33. 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...

    只能是等着&#xff0c;别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚&#xff0c;只能是考虑备份数据后重装系统了。解决来方案一&#xff1a;管理员运行cmd&#xff1a;net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...

    2022/11/19 21:17:09
  34. 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?

    原标题&#xff1a;电脑提示“配置Windows Update请勿关闭计算机”怎么办&#xff1f;win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢&#xff1f;一般的方…...

    2022/11/19 21:17:08
  35. 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...

    关机提示 windows7 正在配置windows 请勿关闭计算机 &#xff0c;然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;关机提示 windows7 正在配…...

    2022/11/19 21:17:05
  36. 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...

    钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...

    2022/11/19 21:17:05
  37. 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...

    前几天班里有位学生电脑(windows 7系统)出问题了&#xff0c;具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面&#xff0c;长时间没反应&#xff0c;无法进入系统。这个问题原来帮其他同学也解决过&#xff0c;网上搜了不少资料&#x…...

    2022/11/19 21:17:04
  38. 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...

    本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法&#xff0c;并在最后教给你1种保护系统安全的好方法&#xff0c;一起来看看&#xff01;电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中&#xff0c;添加了1个新功能在“磁…...

    2022/11/19 21:17:03
  39. 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...

    许多用户在长期不使用电脑的时候&#xff0c;开启电脑发现电脑显示&#xff1a;配置windows更新失败&#xff0c;正在还原更改&#xff0c;请勿关闭计算机。。.这要怎么办呢&#xff1f;下面小编就带着大家一起看看吧&#xff01;如果能够正常进入系统&#xff0c;建议您暂时移…...

    2022/11/19 21:17:02
  40. 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...

    配置windows update失败 还原更改 请勿关闭计算机&#xff0c;电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;配置windows update失败 还原更改 请勿关闭计算机&#x…...

    2022/11/19 21:17:01
  41. 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...

    不知道大家有没有遇到过这样的一个问题&#xff0c;就是我们的win7系统在关机的时候&#xff0c;总是喜欢显示“准备配置windows&#xff0c;请勿关机”这样的一个页面&#xff0c;没有什么大碍&#xff0c;但是如果一直等着的话就要两个小时甚至更久都关不了机&#xff0c;非常…...

    2022/11/19 21:17:00
  42. 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...

    当电脑出现正在准备配置windows请勿关闭计算机时&#xff0c;一般是您正对windows进行升级&#xff0c;但是这个要是长时间没有反应&#xff0c;我们不能再傻等下去了。可能是电脑出了别的问题了&#xff0c;来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...

    2022/11/19 21:16:59
  43. 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...

    我们使用电脑的过程中有时会遇到这种情况&#xff0c;当我们打开电脑之后&#xff0c;发现一直停留在一个界面&#xff1a;“配置Windows Update失败&#xff0c;还原更改请勿关闭计算机”&#xff0c;等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢&#xff0…...

    2022/11/19 21:16:58
  44. 如何在iPhone上关闭“请勿打扰”

    Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...

    2022/11/19 21:16:57