angular子路由使用

Protecting routes is something that has to happen in any app with authentication. There will be sections of your applications that you don't want certain users to get to.

在使用身份验证的任何应用中,保护路由都是必须要做的事情。 您的应用程序中有些部分是您不希望某些用户使用的。

We'll be looking at a simple example of how to use Angular router guards to protect an area of our site. While this will be a simple example that you can reference back to, we'll look at more advanced setups in future articles.

我们将看一个简单的示例,说明如何使用Angular路由器防护装置保护我们站点的某个区域。 虽然这是一个简单的示例,您可以参考,但以后的文章中我们将介绍更高级的设置。

In this tutorial, we'll look at how we can use Angular guards to:

在本教程中,我们将研究如何使用Angular防护:

  • Protect an entire section (route)

    保护整个路段(路线)
  • Protect just a part of the app (child routes)

    仅保护应用程序的一部分(子路径)
Routing Angular Applications路由Angular应用程序

TLDR:如何创建和使用Angular Guard ( TLDR: How to Create and Use An Angular Guard )

The overall process for protecting Angular routes:

保护Angular路由的整体过程:

  • Create a guard service: ng g guard auth

    创建guard服务: ng g guard auth
  • Create canActivate() or canActivateChild() methods

    创建canActivate()canActivateChild()方法
  • Use the guard when defining routes

    定义路线时请使用防护装置

To create a guard using the Angular CLI, use:

要使用Angular CLI创建防护,请使用:

ng g guard auth

This will create an auth.guard.ts

这将创建一个auth.guard.ts

Here is the generated file:

这是生成的文件:

import { Injectable } from '@angular/core';
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
import { Observable } from 'rxjs/Observable';
@Injectable()
export class AuthGuard implements CanActivate {canActivate(next: ActivatedRouteSnapshot,state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean {return true;}}

Now we can add in an AuthService that we may have:

现在,我们可以添加一个可能具有的AuthService

import { Injectable } from '@angular/core';
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';// import the auth service here
// import { AuthService } from '../core/auth.service';@Injectable()
export class AuthGuard implements CanActivate {// add the service we needconstructor(private auth: AuthService,private router: Router) {}canActivate(next: ActivatedRouteSnapshot,state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean {// handle any redirects if a user isn't authenticatedif (!this.auth.isLoggedIn) {// redirect the userthis.router.navigate(['/login']);return false;}return true;}}

In the canActivate() method, we can do any checks we need to check if a user has access. Return a boolean true/false. Also, this is where you can handle routing users away from a route if they don't have access.

canActivate()方法中,我们可以执行检查用户是否具有访问权限所需的所有检查。 返回布尔值true/false 。 同样,在这里,如果路由用户没有访问权限,则可以处理他们离开路由的情况。

Import this new class into a module so your app knows how to grab it. Then you can use this when defining routes:

将此新类导入模块,以便您的应用知道如何抓取它。 然后,您可以在定义路线时使用它:

// import the newly created AuthGuardconst routes: Routes = [{path: 'account',canActivate: [AuthGuard]}
];

This will protect the /account route! That's the quick overview on how to use the guards. Let's go a bit more in depth.

这样可以保护/account路线! 这是有关如何使用防护装置的快速概述。 让我们更深入一点。

角路由器守卫 ( The Angular Router Guards )

The Angular router ships with a feature called guards. These provide us with ways to control the flow of our application. We can stop a user from visitng certain routes, stop a user from leaving routes, and more.

Angular路由器附带一项称为防护功能的功能。 这些为我们提供了控制应用程序流程的方法。 我们可以阻止用户访问某些路线,阻止用户离开路线等等。

We'll only be talking about CanActivate/CanActivateChild in this tutorial, but be aware that these are the available guards:

在本教程中,我们仅讨论CanActivate / CanActivateChild ,但请注意,以下是可用的防护措施:

  • CanActivate: Check if a user has access

    CanActivate :检查用户是否有权访问
  • CanActivateChild: Check if a user has access to any of the child routes

    CanActivateChild :检查用户是否有权访问任何子路由
  • CanDeactivate: Can a user leave a page? For example, they haven't finished editing a post

    CanDeactivate :用户可以离开页面吗? 例如,他们尚未完成帖子的编辑
  • Resolve: Grab data before the route is instantiated

    Resolve :在实例化路由之前获取数据
  • Lazy loading feature modules.

    延迟加载功能模块。
  • CanLoad: Check to see if we can load the routes assets

    CanLoad :检查是否可以加载路线资产

创建示例应用 ( Creating a Sample App )

Our sample app will be a very simple one. We'll use the Angular CLI to create a new Angular app. We'll also create a brand new account and dashboard sections. The requirements:

我们的示例应用程序将是一个非常简单的应用程序。 我们将使用Angular CLI创建一个新的Angular应用。 我们还将创建一个全新的帐户和仪表板部分。 要求:

  • Only logged in users can visit the /account section

    只有登录的用户可以访问/account部分
  • Only admins can access the /dashboard section

    只有管​​理员可以访问/dashboard部分
  • Only super admins can visit the /dashboard/super-duper section

    只有超级管理员才能访问/dashboard/super-duper部分

Let's get started!

让我们开始吧!

使用CLI创建应用 (Using the CLI to Create an App)

Once you have the CLI installed, create a new app with routing and a home page component using:

一旦安装了CLI,请使用以下命令创建一个具有路由和主页组件的新应用:

ng new angular-guard-app --routing

This will generate a new app for us with routing configured. Check out our src/ folder:

这将为我们生成一个配置了路由的新应用。 查看我们的src/文件夹:

We can open up our app now using:

我们现在可以使用以下方法打开我们的应用程序:

ng serve --open

创建一条主要路线 ( Creating a Main Route )

We'll need a home page route so that we can have a default path configured. Create a home component with:

我们需要主页路由,以便我们可以配置默认路径。 使用以下命令创建一个家庭组件:

ng g component home

The CLI will automatically add this new component to our app.module.ts. All we have to do is set it in our app-routing.module.ts:

CLI将自动将此新组件添加到我们的app.module.ts 。 我们要做的就是在app-routing.module.ts

// app-routing.module.ts import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './home/home.component';const routes: Routes = [{path: '',component: HomeComponent}
];@NgModule({imports: [RouterModule.forRoot(routes)],exports: [RouterModule]
})
export class AppRoutingModule { }

Now when you visit your app, you should see home works in tiny text at the very bottom. This is where the <router-outlet> is located.

现在,当您访问应用程序时,您应该会在底部看到小字体的家庭作品 。 这是<router-outlet>所在的位置。

Next we'll move onto our app sections.

接下来,我们将进入我们的应用程序部分。

创建我们的应用程序部分 ( Creating Our App Sections )

We'll need an account section and also a dashboard section. While we could create these as components, we'll be creating them as modules.

我们将需要一个帐户部分和一个仪表板部分。 虽然我们可以将它们创建为组件,但是将它们创建为模块。

Here's the modules and components we'll want.

这是我们想要的模块和组件。

|- dashboard.module.ts|- dashboard-home.component.ts|- super-duper.component.ts
|- account.module.ts|- account-home.component.ts

Since these are sections of our app that a user might not always visit, we may want to lazy-load these sections. By lazy loading, the assets for these sections will only be loaded when a user visits that section.

由于这些是用户可能并不总是访问的应用程序部分,因此我们可能需要延迟加载这些部分。 通过延迟加载, 只有当用户访问该部分时,才会加载这些部分的资产

# create the account module and main component
ng g module account --routing
ng g component account/account-home# create the dashboard module and main component
ng g module dashboard --routing
ng g component dashboard/dashboard-home# create the dashboard child route for super admins
ng g component dashboard/super-duper

These commands will get us two new modules and a new component.

这些命令将为我们提供两个新模块和一个新组件。

Now we can setup the routing for each of these modules.

现在,我们可以为每个模块设置路由。

路由子模块 ( Routing the Child Modules )

Each module created will have its own routing file (dashboard-routing.module.ts and account-routing.module.ts).

创建的每个模块将具有其自己的路由文件( dashboard-routing.module.tsaccount-routing.module.ts )。

We'll set up the routing in each of these child routing files. The auth guards will be used when we define the routes in these modules. The reason we attach guards here and not in the main app-router.module.ts is because we'll be lazy-loading them and we'll have more control in the child routing files.

我们将在每个这些子路由文件中设置路由。 当我们在这些模块中定义路由时,将使用auth保护。 我们在此处而不是在主app-router.module.ts附加防护的原因是,由于我们将延迟加载它们,因此我们将在子路由文件中拥有更多控制权。

Let's setup the routes now:

现在设置路由:

// account-routing.module.tsimport { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AccountHomeComponent } from './account-home/account-home.component';const routes: Routes = [{path: '',component: AccountHomeComponent}
];@NgModule({imports: [RouterModule.forChild(routes)],exports: [RouterModule]
})
export class AccountRoutingModule { }
// dashboard-routing.module.tsimport { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { DashboardHomeComponent } from './dashboard-home/dashboard-home.component';
import { SuperDuperComponent } from './super-duper/super-duper.component';const routes: Routes = [{path: '',component: DashboardHomeComponent,children: [{path: 'super-duper',component: SuperDuperComponent}]}
];@NgModule({imports: [RouterModule.forChild(routes)],exports: [RouterModule]
})
export class DashboardRoutingModule { }

Now we can add these to the main app-routing.module.ts. We'll use the syntax for lazy-loading by using the loadChildren parameter.

现在,我们可以将它们添加到主app-routing.module.ts 。 我们将通过使用loadChildren参数将语法用于延迟加载。

// app-routing.module.tsimport { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './home/home.component';const routes: Routes = [{path: '',component: HomeComponent},{path: 'account',loadChildren: 'app/account/account.module#AccountModule'},{path: 'dashboard',loadChildren: 'app/dashboard/dashboard.module#DashboardModule'}
];@NgModule({imports: [RouterModule.forRoot(routes)],exports: [RouterModule]
})
export class AppRoutingModule { }

Notice that we don't import the AccountModule or DashboardModule. We also don't import these into the main AppModule; if we did import it there, then it would no longer be lazy-loaded.

注意,我们不导入AccountModuleDashboardModule 。 我们也不AppModule这些导入到主AppModule ; 如果我们确实将其导入到那里,那么它将不再被延迟加载。

Since we defined the path as dashboard and account in the main app-routing.module.ts, we'll define the top level route as '' in the child routes.

由于我们在主app-routing.module.ts中将路径定义为dashboardaccount ,因此我们将在子路径中将顶级路径定义为''

Now that we have our routes ready, we can work on the auth service and guards!

现在我们已经准备好路由,我们可以使用auth服务和警卫了!

认证服务 ( Authentication Service )

We'll create a generic authentication service that won't hook into anything. We'll return a boolean for true to show a user is logged in. In your application, you would hook this into a service like a backend API to check auth status.

我们将创建一个通用的身份验证服务,该服务不会包含任何内容。 我们将返回一个布尔值true以显示用户已登录。在您的应用程序中,您可以将其挂接到后端API之类的服务中以检查身份验证状态。

We'll use the CLI to create this service. I'm going to drop this right into the main app/ folder but it would be good practice to create services and guards inside a CoreModule or its own AuthModule.

我们将使用CLI创建此服务。 我将把它放到主app/文件夹中,但是在CoreModule或自己的AuthModule创建服务和防护将是一个好习惯。

ng gservice auth/auth

We'll add a method to check for isLoggedIn and isSuperAdmin. We'll just fill these in with a boolean but you'll need to make sure to add the logic for your own apps. It wouldn't be great security if your AuthService always returned true!

我们将添加一种方法来检查isLoggedInisSuperAdmin 。 我们只用一个布尔值来填充它们,但是您需要确保为自己的应用程序添加逻辑。 如果您的AuthService始终返回true,那将不是很好的安全性!

import { Injectable } from '@angular/core';@Injectable()
export class AuthService {constructor() { }get isLoggedIn() {return true;}get isSuperAdmin() {return true;}}

Note We're using the get keyword here to treat these as properties. That way we can access these functions as:

注意我们在这里使用get关键字将它们视为属性。 这样,我们可以按以下方式访问这些功能:

// with the get keyword we can do this
const isLoggedIn = this.auth.isLoggedIn;// without it, we have to treat it was a method
const isLoggedIn = this.auth.isLoggedIn();

Our service is ready to be used in our guards!

我们的服务随时可以在我们的警卫中使用!

验证卫士 ( Authentication Guard )

We'll need a guard to check if a user is logged in or not. We'll create it in the auth/guards folder that we'll create now with the CLI:

我们需要一个保护人员来检查用户是否已登录。 我们将在现在使用CLI创建的auth / guards文件夹中创建它:

ng g guard auth/guards/auth

Here's the new guard in all its glory:

这是新警卫的全部荣耀:

// app/auth/guards/auth.guard.tsimport { Injectable } from '@angular/core';
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
import { Observable } from 'rxjs/Observable';@Injectable()
export class AuthGuard implements CanActivate {canActivate(next: ActivatedRouteSnapshot,state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean {return true;}
}

We'll inject the AuthService and bring in the Router so that we can:

我们将注入AuthService并引入Router以便我们可以:

  • check if a user is logged in

    检查用户是否登录
  • redirect them if not logged in

    如果未登录,则将其重定向
// app/auth/guards/auth.guard.tsimport { Injectable } from '@angular/core';
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';
import { AuthService } from '../auth.service';@Injectable()
export class AuthGuard implements CanActivate {constructor(private auth: AuthService,private router: Router) {}canActivate(next: ActivatedRouteSnapshot,state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean {// redirect and return falseif (!this.auth.isLoggedIn) {this.router.navigate(['']);return false;}return true;}
}

Easy cheese! Let's make an admin guard now for our dashboard super-duper section.

简单的奶酪! 现在让我们为仪表板超级双节的管理员做好准备。

超级管理员 ( Super Admin Guard )

ng g guard auth/guards/admin
// app/auth/guards/admin.guard.tsimport { Injectable } from '@angular/core';
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';
import { AuthService } from '../auth.service';@Injectable()
export class AuthGuard implements CanActivate {constructor(private auth: AuthService,private router: Router) {}canActivate(next: ActivatedRouteSnapshot,state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean {// redirect and return falseif (!this.auth.isSuperAdmin) {this.router.navigate(['']);return false;}return true;}
}

With our service and guards ready to use, we'll need to register them with our application's AppModules. While the CLI automatically registers components, it doesn't do the same for services.

准备好使用我们的服务和防护后,我们需要在应用程序的AppModules注册它们。 CLI自动注册组件时,它对服务的功能却不同。

// app.module.tsimport { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { HomeComponent } from './home/home.component';
import { AuthService } from './auth/auth.service';
import { AuthGuard } from './auth/guards/auth.guard';
import { AdminGuard } from './auth/guards/admin.guard';@NgModule({declarations: [AppComponent,HomeComponent],imports: [BrowserModule,AppRoutingModule],providers: [AuthService,AuthGuard,AdminGuard],bootstrap: [AppComponent]
})
export class AppModule { }

All good! Now we can finally apply these to our routes. Open up the child routes and let's use our new guards.

都好! 现在,我们终于可以将这些应用于我们的路线了。 打开子路线,让我们使用我们的新警卫。

申请我们的路线 ( Applying to Our Routes )

In the account routing, we'll use the main AuthGuard. Here are the relevant lines:

在帐户路由中,我们将使用主要的AuthGuard 。 以下是相关行:

// account-routing.module.ts
...import { AuthGuard } from '../auth/guards/auth.guard';const routes: Routes = [{path: '',component: AccountHomeComponent,canActivate: [AuthGuard]}
];...

Let's test this out! Visit http://localhost:4200/account in your browser. You should be able to see at the very bottom account-home works!

让我们测试一下! 在浏览器中访问http:// localhost:4200 / account 。 您应该能够在最底层的帐户首页看到作品!

测试身份验证 ( Testing the Auth )

We need to make sure that our user actually gets redirected to the home page if they aren't authenticated. Go back into the AuthService and change the isLoggedIn() method to return false.

如果未通过身份验证,我们需要确保用户实际上已重定向到主页。 返回AuthService并更改isLoggedIn()方法以返回false

get isLoggedIn() {return false;
}

Now when we visit http://localhost:4200/account, we'll be redirected to the home page!

现在,当我们访问http:// localhost:4200 / account时 ,我们将被重定向到主页!

这是如何运作的? (How does this work?)

When we define the route and its guard, Angular will look inside the guard and look for the corresponding method. For instance, we defined this line:

当我们定义路线及其保护后,Angular将在保护内看并寻找相应的方法。 例如,我们定义了这一行:

{path: '',component: AccountHomeComponent,canActivate: [AuthGuard]
}

Angular will look inside the AuthGuard file and match the canActivate method.

Angular将在AuthGuard文件中查找并匹配canActivate方法。

CanActivateChild ( CanActivateChild )

We could do the same exact thing for our dashboard section, but let's switch it up. We'll use canActivateChild instead of the main canActivate. Remember we defined child routes inside the dashboard-routing.module.ts.

我们可以对仪表板部分执行相同的操作,但让我们对其进行切换。 我们将使用canActivateChild而不是主要的canActivate 。 记住,我们在dashboard-routing.module.ts定义了子路由。

Let's update our admin guard to also implement the canActivateChild method.

让我们更新我们的管理员以实现canActivateChild方法。

// dashboard-routing.module.tsimport { Injectable } from '@angular/core';
import { CanActivate, CanActivateChild, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';
import { AuthService } from '../auth.service';@Injectable()
export class AdminGuard implements CanActivate, CanActivateChild {constructor(private auth: AuthService,private router: Router) {}canActivate(next: ActivatedRouteSnapshot,state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean {// redirect and return falseif (!this.auth.isLoggedIn) {this.router.navigate(['']);return false;}return true;}canActivateChild(next: ActivatedRouteSnapshot,state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean {// redirect and return falseif (!this.auth.isLoggedIn) {this.router.navigate(['']);return false;}return true;}
}

Then we can apply this to our dashboard routes:

然后,我们可以将其应用于我们的仪表板路线:

// dashboard-routing.module.ts
...import { AdminGuard } from '../auth/guards/admin.guard';const routes: Routes = [{path: '',component: DashboardHomeComponent,canActivateChild: [AdminGuard],children: [{path: 'super-duper',component: SuperDuperComponent}]}
];...

One thing to note is that since these are child routes, we'll need to add a new <router-outlet></router-outlet> to the dashboard-home.component.html:

要注意的一件事是,由于这些是子路由,因此我们需要在dashboard-home.component.html添加一个新的<router-outlet></router-outlet>

<p>dashboard-home works!
</p><router-outlet></router-outlet>

Now our guard works! We can go into AuthService and change the isAdmin() method to check.

现在我们的守卫工作了! 我们可以进入AuthService并更改isAdmin()方法进行检查。

The reason you would use CanActivateChild over CanActivate is that you can limit the nested router-outlet. Notice we can still see the dashboard-home.component but not anything in its own nested routes.

在CanActivate上使用CanActivateChild的原因是可以限制嵌套的router-outlet 。 注意,我们仍然可以看到dashboard-home.component但在其自己的嵌套路由中什么也看不到。

结论 ( Conclusion )

Angular CanActivate and CanActivateChild guards provide a clean and defined way to "guard" certain routes. We've only taken a look at two of the guards, but all of them are worth looking into! They are a solid way to manage the flow of users throughout your app.

Angular CanActivate和CanActivateChild防护提供了一种清晰明确的方式来“防护”某些路线。 我们只看了两个警卫,但所有这些警卫都值得研究! 它们是管理整个应用程序中用户流的可靠方法。

翻译自: https://scotch.io/tutorials/protecting-angular-v2-routes-with-canactivatecanactivatechild-guards

angular子路由使用

查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. 2017 开源中国新增开源项目排行榜 TOP 100

    2017 年开源中国社区新增开源项目排行榜 TOP 100 新鲜出炉&#xff01; 这份榜单根据 2017 年开源中国社区新收录的开源项目的关注度和活跃度整理而来&#xff0c;这份最受关注的 100 款开源项目榜单在一定程度上预示着业界的最新流行趋势。 可以看到&#xff0c;前十名中有九…...

    2024/5/8 13:57:41
  2. 年度特辑 | 2017 开源中国新增开源项目排行榜 TOP 100

    2017 年开源中国社区新增开源项目排行榜 TOP 100 新鲜出炉&#xff01; 这份榜单根据 2017 年开源中国社区新收录的开源项目的关注度和活跃度整理而来&#xff0c;这份最受关注的 100 款开源项目榜单在一定程度上预示着业界的最新流行趋势。 可以看到&#xff0c;前十名中有九…...

    2024/4/21 4:24:34
  3. 【分享】2017 开源中国新增开源项目排行榜 TOP 100

    2017 年开源中国社区新增开源项目排行榜 TOP 100 新鲜出炉&#xff01; 这份榜单根据 2017 年开源中国社区新收录的开源项目的关注度和活跃度整理而来&#xff0c;这份最受关注的 100 款开源项目榜单在一定程度上预示着业界的最新流行趋势。 可以看到&#xff0c;前十名中有九个…...

    2024/4/21 4:24:34
  4. 2017 开源中国评比的前100个优秀开源项目

    这份榜单根据 2017 年开源中国社区新收录的开源项目的关注度和活跃度整理而来&#xff0c;这份最受关注的 100 款开源项目榜单在一定程度上预示着业界的最新流行趋势。可以看到&#xff0c;前十名中有九个是国内开发者开发的开源项目&#xff0c;这个比例相比于去年已大大提高。…...

    2024/5/2 15:43:25
  5. 新手必读:PhoneGap入门六大问题

    很多PhoneGap新手总是需要一些基础问题的解答&#xff0c;Adobe技术布道师Andrew Trice常在其博文中回答诸如” PhoneGap是什么?”、“phonegap应用开发出来是什么样的形态?”、“如何开发phonegap?”等问题。近日他将这些问题回答整理成文以帮助开发者理解和使用PhoneGap。…...

    2024/5/8 12:22:15
  6. 前端ui组件(1):日程排班—11个优秀JavaScript 日历插件

    日历是我们生活中重要的一部分。在当今世界&#xff0c;人们大多使用网络或移动日历。它们随处可见&#xff0c;包括在各种软件中&#xff1a;预订应用、旅行软件、项目管理、管理面板等。 出于多种原因&#xff0c;用户可能需要在网站上使用日历。用户需要容果从日历中选择日…...

    2024/5/8 12:06:41
  7. 部分程序员资源整理

    GitHub上整理的一些工具 技术站点 Hacker News&#xff1a;非常棒的针对编程的链接聚合网站 Programming reddit&#xff1a;同上 MSDN&#xff1a;微软相关的官方技术集中地&#xff0c;主要是文档类 infoq&#xff1a;企业级应用&#xff0c;关注软件开发领域 OS…...

    2024/5/8 17:07:18
  8. vue 官方推荐的好用的三方库

    自述文件 非常棒的存储库徽标 很棒的Vue.js 太棒了 与Vue.js相关的精彩内容精选清单 资源资源 官方资源 外部资源 工作门户 社区 会议活动 播客 YouTube频道 官方例子 讲解 例子 图书 博客文章 培训班 纪录片 使用Vue.js的项目 开源的 商业产品 应用/网站 互动体验 企业用途…...

    2024/4/21 4:24:29
  9. 笔记 会学习、会分享 能进步 好玩

    day01 1.阿里云服务器购买 2.阿里云服务器环境配置&#xff08;ubuntu16.04 apache2 jdk1.8 mysql-server-5.7&#xff09; 购买链接&#xff1a;https://developer.aliyun.com/plan/grow-up 手机端注册 会员名&#xff1a;中文数字 手机号&#xff1a;自己手机号 登录 实名…...

    2024/5/8 13:33:42
  10. Apollo2.0自动驾驶之apollo/modules/common/vehicle_state/vehicle_state_provider.h

    /****************Apollo源码分析****************************Copyright 2018 The File Authors & zouyu. All Rights Reserved.Contact with: 1746430162qq.com 181663309504源码主要是c实现的&#xff0c;也有少量python&#xff0c;git下载几百兆&#xff0c;其实代码不…...

    2024/4/21 4:24:27
  11. 前端框架-深度学习链接

    学习网站&#xff08;持续更新中&#xff09;项目网站 github 官网&#xff1a;https://github.com 极客学院上文档&#xff1a;http://wiki.jikexueyuan.com/project/github-basics/ github项目js-xlsx(读取和导出excel的工具库)&#xff1a;https://github.com/SheetJS/js-xl…...

    2024/4/21 4:24:25
  12. zeppelin on CDH及配置spark查询hive表

    2019独角兽企业重金招聘Python工程师标准>>> 1.下载zeppelin http://zeppelin.apache.org/download.html 我下载的是796MB的那个已经编译好的&#xff0c;如果需要自己按照环境编译也可以&#xff0c;但是要很长时间编译&#xff0c;这个版本包含了很多插件&#x…...

    2024/4/27 7:18:31
  13. 什么是MEAN堆栈? JavaScript Web应用程序

    MEAN堆栈&#xff0c;已定义 MEAN堆栈是一个软件堆栈-即构成现代应用程序的一组技术层-完全用JavaScript构建。 MEAN将JavaScript的出现表示为一种“ 全栈开发 ”语言&#xff0c;从前端到后端运行应用程序中的所有内容。 MEAN中的每个缩写都代表堆栈中的一个组件&#xff1a;…...

    2024/4/22 8:25:20
  14. BAAS业内发展分析(转)

    在本文中我们将主要研究目前主要的BaaS平台的功能&#xff0c;以及Google&#xff0c;Facebook&#xff0c;Apple等互联网巨头在BaaS领域的动作。同时我们也会关注国内一些主流BaaS平台的发展以及国内互联网巨头如百度&#xff0c;华为等在BaaS领域的投入发展。 国外主流的Baa…...

    2024/4/21 4:24:22
  15. mean堆栈_什么是MEAN堆栈? JavaScript Web应用程序

    mean堆栈MEAN堆栈&#xff0c;已定义 MEAN堆栈是一个软件堆栈&#xff0c;即构成现代应用程序的一组技术层&#xff0c;它们完全用JavaScript构建。 MEAN将JavaScript的出现表示为一种“ 全栈开发 ”语言&#xff0c;可在前端到后端运行应用程序中的所有内容。 MEAN中的每个缩…...

    2024/4/28 11:16:37
  16. [转] Web前端开发工程师常用技术网站整理

    1、常用工具相关 有道云笔记 http://note.youdao.com/signIn/index.html 36镇-最好用的共享收藏夹 http://www.36zhen.com/ 浏览器同步测试工具 http://www.browsersync.cn/ https://www.browsersync.io/ 草料二维码生成器 http://cli.im/ GitHub https://github.…...

    2024/4/21 4:24:21
  17. 基于Carto的小车SLAM建图定位与导航

    文章目录一、录制地图包1.1 运行机器人小车节点1.2 启动小车控制节点1.3 rosbag记录数据1.4 播放录制的bag&#xff08;查看是否录制成功&#xff09;二、生成pbstrem文件三、pbstream转化成pgm和yaml四、功能1&#xff1a;键盘控制小车运动五、功能2&#xff1a;建图定位与导航…...

    2024/4/20 19:50:00
  18. 使用React Native和Spring Boot构建一个移动应用

    “我喜欢编写身份验证和授权代码。” 〜从来没有Java开发人员。 厌倦了一次又一次地建立相同的登录屏幕&#xff1f; 尝试使用Okta API进行托管身份验证&#xff0c;授权和多因素身份验证。 React Native是使用React构建移动应用程序的框架。 React允许您使用声明式编程风格来…...

    2024/4/20 19:49:59
  19. AngularJS 中的Promise --- $q服务详解

    AngularJS 中的Promise --- $q服务详解 先说说什么是Promise&#xff0c;什么是$q吧。Promise是一种异步处理模式&#xff0c;有很多的实现方式&#xff0c;比如著名的Kris Kwals Q还有JQuery的Deffered。 什么是Promise 以前了解过Ajax的都能体会到回调的痛苦&#xff0c;同步…...

    2024/4/20 19:49:58
  20. angular中的$q服务

    $q的一共有四个api: 1.$q.when(value, successFn, errorFn, progressFn),返回值为一个promise对象 --value可以是一个任意数据&#xff0c;也可以是一个promise对象&#xff1a; 如果是任意数据的情况&#xff0c;则直接调用successFn的函数&#xff0c;所以后两个参数没有写的…...

    2024/4/20 19:49:57

最新文章

  1. 道可道,非常道,名可名,非常名;学习道德经新解读!打破思想钢印——早读(逆天打工人爬取热门微信文章解读)

    你读过道德经吗? 引言Python 代码第一篇 洞见 原来这就是&#xff1a;穷人的思想钢印第二篇 人民日报 来了&#xff01;新闻早班车要闻社会政策 结尾 知识始于好奇 终于智慧 好奇心驱使我们探索 而智慧则是自由思想的结晶 引言 玄之又玄 众妙之门 今天真的是大开我的眼界 我之…...

    2024/5/8 17:30:16
  2. 梯度消失和梯度爆炸的一些处理方法

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

    2024/5/7 10:36:02
  3. 第十二届蓝桥杯省赛真题(C/C++大学B组)

    目录 #A 空间 #B 卡片 #C 直线 #D 货物摆放 #E 路径 #F 时间显示 #G 砝码称重 #H 杨辉三角形 #I 双向排序 #J 括号序列 #A 空间 #include <bits/stdc.h> using namespace std;int main() {cout<<256 * 1024 * 1024 / 4<<endl;return 0; } #B 卡片…...

    2024/5/8 15:11:38
  4. 【图论】知识点集合

    边的类型 neighbors(邻居)&#xff1a;两个顶点有一条共同边 loop&#xff1a;链接自身 link&#xff1a;两个顶点有一条边 parallel edges&#xff1a;两个顶点有两条及以上条边 无向图 必要条件&#xff1a;删掉顶点数一定大于等于剩下的顶点数 设无向图G<V,E>是…...

    2024/5/7 21:13:52
  5. 【外汇早评】美通胀数据走低,美元调整

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

    2024/5/8 6:01:22
  6. 【原油贵金属周评】原油多头拥挤,价格调整

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

    2024/5/7 9:45:25
  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/7 14:25:14
  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/7 11:36:39
  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/7 9:26:26
  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/6 21:42:42
  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