apollo-graphql 自己使用的一点姿势
-
apollo 能干什么
-
怎么用(react版)
- 2.1 引入方式
// index.tsx
import { LocaleProvider, message } from 'antd'
import zhCN from 'antd/lib/locale-provider/zh_CN';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { ApolloClient } from 'apollo-client'
import { ApolloLink, NextLink, Observable, Operation } from 'apollo-link';
import { BatchHttpLink } from 'apollo-link-batch-http';
import { onError } from 'apollo-link-error';
import * as React from 'react';
import { ApolloProvider } from 'react-apollo'
import * as ReactDOM from 'react-dom';
import App from './App';
import './index.scss';
import registerServiceWorker from './registerServiceWorker';// 请求拦截器
const request = async (operation: Operation) => {// 可以设置tokenoperation.setContext({headers: {}})return Promise.resolve()
}const requestLink = new ApolloLink((operation: Operation, forward: NextLink) => {return new Observable(observer => {let handle: any;Promise.resolve(operation).then(oper => request(oper)).then(() => {handle = forward(operation).subscribe({next: observer.next.bind(observer),error: observer.error.bind(observer),complete: observer.complete.bind(observer),});}).catch(observer.error.bind(observer));return () => {if (handle) {handle.unsubscribe()}}})
}) const client = new ApolloClient({link: ApolloLink.from([onError(({ graphQLErrors }) => {// 全局错误处理if (Array.isArray(graphQLErrors)) {message.error(graphQLErrors[0].message)}}),requestLink,new BatchHttpLink({ uri: 'http://localhost:7001/graphql' }),]),cache: new InMemoryCache(),
})ReactDOM.render(<ApolloProvider client={client}><LocaleProvider locale={zhCN}><App /></LocaleProvider></ApolloProvider>,document.getElementById('root') as HTMLElement
);
registerServiceWorker();
复制代码
-
2.2 官方集成包(apollo-boost, 强烈不推荐,因为没有集成batch)
- 2.2.1 没有使用batch的情况
- 2.2.2 使用了batch的情况 目前应用场景应该是在减少短效token,换长效token时的并发问题
-
2.3 ajax交互(apollo也提供了组件化, 把原本的service服务变成了一个组件)
// apollo component
import { Query } from 'react-apollo'
import { IArticle } from '../../interface/Article'interface IData {getArticleList: {list: IArticle[];pagination: {page: number;totalPage: number;totalCount: number;perPage: number;};}
}interface IParams {page: number;perPage: number;
}export default class QueryArticleList extends Query<IData, IParams> {}
复制代码
页面使用
// apollo query
export const articleList = gql`query getArticleList ($page: Int$perPage: Int) {getArticleList (page: $pageperPage: $perPage) {list {_idtitletags {namecolor}}pagination {pagetotalPagetotalCountperPage}}}
`// page
import * as React from 'react'
import { List, Spin, Tag } from 'antd'
import { CSSTransition } from 'react-transition-group'
import Blank from '../../components/blank/blank'
export default class ArticleListPage extends React.Component {public render(): JSX.Element {const { pagination } = this.state;return (<QueryArticleList query={articleList}variables={{page: pagination.current,perPage: pagination.pageSize,}}>{ (({ data, error, loading, fetchMore }) => {if (loading) {return <Spin size="large" />}if (error) {return <p>{error}</p>}if (data) { // 渲染列表return (<CSSTransitionin={loading}classNames="list-move"timeout={500}><Listsize="large"itemLayout="vertical"split={false}pagination={resPagination}dataSource={data.getArticleList.list}renderItem={this.renderListItem} /></CSSTransition>)}return <Blank />})}</QueryArticleList>)}
}
复制代码
- 2.4 分页(结合了antd)
// 上面page里(列表渲染部分替换)const resPagination: IStatePagination = {pageSize: pagination.pageSize,current: data.getArticleList.pagination.page,onChange: (pageNumber: number) => {fetchMore({variables: {page: pageNumber},updateQuery: (prev, { fetchMoreResult }) => {if (!fetchMoreResult) {return prev;} else {return fetchMoreResult;}}})},total: data.getArticleList.pagination.totalPage,}return (<CSSTransitionin={loading}classNames="list-move"timeout={500}><Listsize="large"itemLayout="vertical"split={false}pagination={resPagination}dataSource={data.getArticleList.list}renderItem={this.renderListItem} /></CSSTransition>)
复制代码
- 2.5 读写缓存(状态管理)
// 读还是跟网络请求时候的一样, apollo默认启用了cache
// 不想启用,需要配置在请求时配置fetchPolicy字段
// 写的话需要用到updateQuery字段
updateQuery: (prev, { fetchMoreResult }) => {if (!fetchMoreResult) {return prev;} else {return fetchMoreResult;}
}
复制代码
-
怎么用(angular版)
- 3.1 引入apollo(这里推荐apollo-angular这个集成包)
// app.module.ts 部分代码
import { ApolloModule, Apollo } from 'apollo-angular';
import { HttpBatchLinkModule, HttpBatchLink } from 'apollo-angular-link-http-batch';
import { ApolloLink, from } from 'apollo-link';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { onError } from 'apollo-link-error';@NgModule({declarations: [AppComponent,],imports: [BrowserModule,BrowserAnimationsModule,HttpClientModule,AppRoutingModule,ApolloModule,HttpBatchLinkModule,NgbModule.forRoot(),ThemeModule.forRoot(),CoreModule.forRoot(),],bootstrap: [AppComponent],
})
export class AppModule {constructor (public apollo: Apollo,public httpLink: HttpBatchLink,) {const http = httpLink.create({uri: 'http://localhost:7001/graphql',batchInterval: 500,});/*** @name 请求拦截器* @date 2019-01-15* */const authMiddleware = new ApolloLink((operation, forward) => {// add the authorization to the headersoperation.setContext({headers: new HttpHeaders().set('Authorization', localStorage.getItem('token') || null),});return forward(operation);});/*** 还可以继续追加拦截器*//*** @name 响应拦截器* @date 2019-01-15**/const logoutLink = onError(({ networkError }) => {window.console.log('networkError', networkError);});apollo.create({link: from([authMiddleware, http, logoutLink]),cache: new InMemoryCache(),});}
}复制代码
- 3.1 ajax交互(service)
// 部分截图 (没有做分页。。)
// graphql query基本上给react 的一样import { Apollo } from 'apollo-angular';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { Injectable } from '@angular/core';
import { IArticle, articleList, article, addArticle, updateArticle } from '../../interface/Article';
import { IPagination } from '../../interface/Pagination';
import { DatePipe } from '../../pipes/date.pipe';interface IArticleList {list: IArticle[];pagination: IPagination;
}@Injectable()
export class ArticleService {constructor(private apollo: Apollo) {}getArticleList(): Observable<IArticle[]> {return this.apollo.watchQuery<{ getArticleList: IArticleList }, { page: number, perPage: number }>({query: articleList,variables: {page: 1,perPage: 999,},fetchPolicy: 'network-only',}).valueChanges.pipe(map(res => {res.data.getArticleList.list.forEach(item => {item.createTime = new DatePipe().transform(item.createTime);item.updateTime = new DatePipe().transform(item.updateTime);});return res.data.getArticleList.list;}),);}
}
复制代码
- 3.2 页面使用服务
import { ArticleService } from '../../../@core/data/articles.service';@Component({selector: 'ngx-article-list',templateUrl: './article-list.component.html',styles: [`nb-card {transform: translate3d(0, 0, 0);}`],
})
export class ArticleListComponent implements OnInit {constructor(private service: ArticleService,private router: Router,) {} ngOnInit() {this.service.getArticleList().subscribe((data) => this.source.load(data));}
}
复制代码
- 3.3 读写缓存
// 依旧是service文件
// update 字段用来更新数据@Injectable()
export class Live2dService {constructor(private apollo: Apollo) {}updateLive2d(name: string): Observable<ILive2d> {interface IRes {data: {updateLive2d: ILive2d;};}return this.apollo.mutate<{ updateLive2d: ILive2d }, { name: string }>({mutation: updateLive2d,variables: {name,},update (proxy, res: IRes) {// 取缓存const live2dName: string = res.data.updateLive2d.name;const data = proxy.readQuery({ query: admin }) as { admin: IUser };data.admin.live2d = live2dName;// 写缓存proxy.writeQuery({ query: admin, data });},}).pipe(map(res => res.data.updateLive2d),);}
}
复制代码
-
服务端使用(egg)
- 4.1 引入apollo
// extends/application.ts
import { Application } from "egg";
import GraphQL from "../graphql";const TYPE_GRAPHQL_SYMBOL = Symbol("Application#TypeGraphql");
export default {get graphql(this: Application): GraphQL {if (!this[TYPE_GRAPHQL_SYMBOL]) {this[TYPE_GRAPHQL_SYMBOL] = new GraphQL(this);}return this[TYPE_GRAPHQL_SYMBOL];}
};// app.ts
import "reflect-metadata";
import { Application } from "egg";export default async (app: Application) => {await app.graphql.init();app.logger.info("started");
}// graphql/index.ts
import * as path from "path";
import * as jwt from 'jsonwebtoken';import { ApolloServer, AuthenticationError } from "apollo-server-koa";
import { Application } from "egg";
import { GraphQLSchema } from "graphql";
import { buildSchema } from "type-graphql";export interface GraphQLConfig {router: string;graphiql: boolean;
}export default class GraphQL {private readonly app: Application;private graphqlSchema: GraphQLSchema;private config: GraphQLConfig;constructor(app: Application) {this.app = app;this.config = app.config.graphql;}getResolvers() {const isLocal = this.app.env === "local";return [path.resolve(this.app.baseDir, `app/graphql/schema/**/*.${isLocal ? "ts" : "js"}`)];}async init() {this.graphqlSchema = await buildSchema({resolvers: this.getResolvers(),dateScalarMode: "timestamp"});const server = new ApolloServer({schema: this.graphqlSchema,tracing: false,context: async ({ ctx }) => {// token验证放在这里// 将 egg 的 context 作为 Resolver 传递的上下文return ctx}, playground: {settings: {"request.credentials": "include"}} as any,introspection: true});server.applyMiddleware({app: this.app,path: this.config.router,cors: true});this.app.logger.info("graphql server init");}get schema(): GraphQLSchema {return this.graphqlSchema;}
}interface IJwt {exp: string | number,data: string
}
复制代码
- 4.2 编写graphql类型系统
// enum类型import { registerEnumType } from 'type-graphql';export enum ImgType {// banner图片'banner' = 'banner',// 文章图片'article' = 'article',// 其他'other' = 'other'}registerEnumType(ImgType, {name: 'ImgType',description: '图片类型'
})// 这里推荐下type-graphqlimport { ObjectType, Field, ID, InputType } from 'type-graphql';
import { ImgType } from '../enum/imgType';
import { Status } from '../enum/status';
import { IsString, IsNotEmpty } from 'class-validator';@ObjectType({ description: 'image model' })
export class Image {@Field(() => ID, { nullable: true })_id?: number;@Field({ description: '链接地址', nullable: true })url?: string;@Field(() => ImgType, { description: '图片类型', nullable: true })type?: ImgType;@Field(() => Status, { description: '图片启用状态', nullable: true })status?: Status;@Field({ description: '创建时间', nullable: true })createTime?: string;@Field({ description: '更新时间', nullable: true })updateTime?: string;
}@InputType({ description: 'add image model' })
export class AddImage {@Field({ description: '链接地址' })@IsString()@IsNotEmpty()url: string;@Field(() => ImgType, { description: '图片类型' })@IsNotEmpty()type: ImgType;@Field(() => Status, { description: '图片启用状态', nullable: true })status?: Status;
}@InputType({ description: 'update image model' })
export class UpdateImage extends AddImage {@Field(() => ID)@IsNotEmpty()_id: number;
} 复制代码
- 4.3 graphql服务
import { Resolver, Query, ID, Arg, Ctx, Mutation } from 'type-graphql';
import { ImgType } from '../../enum/imgType';
import { Image, AddImage, UpdateImage } from '../../interface/image';
import { Context } from 'egg'@Resolver()
export default class ImageResolve {@Query(() => [Image], { description: '获取图片列表' })async getImageList (@Arg("type", () => ImgType) type: ImgType,@Ctx() ctx: Context): Promise<Image[] | Error> {try {const imgList = await ctx.model.Image.find({ type })return imgList as Image[]} catch (e) {ctx.logger.error(e)return Error('系统异常')}}@Mutation(() => Image, { description: '添加图片' })async addImage (@Arg('data') image: AddImage,@Ctx() ctx: Context,): Promise<Image | Error> {try {const newImage = new ctx.model.Image(image)return await newImage.save() as Image} catch (e) {ctx.logger.error(e)return Error('系统异常')}}
复制代码
- 4.4 接口测试
- 4.5 接口文档
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
相关文章
- Swagger结合mustache模板生成后台接口代码、以及前后台建模代码
之前项目中使用的的thrift来建模,维护前后台模型以及rest接口,前台使用的是angular2; 但是使用thrift只能生成建模,后台的rest接口的Controller文件还是需要手动去写,一旦接口改动就会涉及到很多方面。 由此准备使用S…...
2024/4/21 13:26:25 - 才割双眼皮一年了怎么还是不舒服
...
2024/4/21 13:26:24 - 【javascript】杂记
1.settimeout函数是指定毫秒数后调用函数或者是计算表达式的,而settimeout设置为0s,他被js放在队列中,要等别人执行完,他才会执行。 console.log(1); setTimeout(function(){console.log(2);},0); console.log(3);1 3 2 2 . nu…...
2024/4/21 13:26:22 - 松灵机器人Scout代码分析 --- scout_ros
公司采购了一款室外的四轮差速底盘,正在看通讯的代码。 代码的github: https://github.com/westonrobot/scout_ros scout_base_node.cpp 1. 调用 ScoutBase.h 的 connetc() : 设置通讯方式(serial or can )并 进行连接 2. scout_base/…...
2024/4/21 13:26:23 - [Javascript] 编程实践之1: Google的Javascript代码风格5:语言特性
Google的Javascript风格指南5 语言特性5.1 局部变量声明5.1.1 const和let的使用5.1.2 每次只声明一个变量5.1.3 仅在需要时声明,并且尽快初始化5.1.4 根据需要声明类型5.2 数组文法5.2.1 使用拖拽逗号5.2.2 不要使用可变数组的构造函数5.2.3 非数值性质5.2.4 析构5.…...
2024/4/20 15:57:51 - 平行眼割的双眼皮时间久了会成内双吗
...
2024/4/20 15:57:47 - 割双眼皮是不是时间越久
...
2024/4/20 15:57:47 - 双眼皮宽一点好还是窄一点好看
...
2024/4/20 15:57:46 - angular编译出错解决办法Angular Compiler was detected but it was an instance of the wrong class.
出现如下错误: Module build failed: Error: Angular Compiler was detected but it was an instance of the wrong class. This likely means you have several ngtools/webpack packages installed. You can check this with npm ls ngtools/webpack, and then…...
2024/4/20 15:57:44 - 拉双眼皮要价格多少钱
...
2024/4/20 15:57:43 - 拉双眼皮要价格多少钱啊
...
2024/4/29 10:40:44 - 刚做完双眼皮如何预防黏连
...
2024/4/20 15:57:41 - 双眼皮割的时间越长
...
2024/4/20 14:35:56 - 代码生成器 \ select2 \ 面包屑导航
1. 代码生成器 2. select2 (1) js 代码 /** * 数据格式 {data :[ ]} */ $scope.brandList{data:[{ id:1, text:联想 },{ id:2, text:华为},{ id:3, text:小米}]}; (2) html 页面 <link rel"stylesheet" href "../plugins/select2/select2.css"…...
2024/4/21 13:26:19 - 双眼皮几天线拆
...
2024/4/26 15:17:57 - 双眼皮线几天可以拆
...
2024/5/7 4:48:16 - 全切双眼皮两个月眼型不好看
...
2024/5/1 12:54:56 - SQL vs NoSQL 没有硝烟的战争!
SQL(结构化查询语言)数据库作为一个主要的数据存储机制已经超过40个年头了。随着web应用和像MySQL、PostgreSQL和SQLite这些开源项的兴起,SQL使用量大大增加。 NoSQL数据库在20世纪60年代就已经出现了,但最近因为MongoDB、CouchDB…...
2024/4/21 13:26:15 - 浅谈Web建站技术
互联网是指通过TCP/IP协议族互相连接在一起的计算机网络。万维网和互联网是两个联系极其紧密但却不尽相同的概念。 Web是运行在互联网上的一个超大规模的分布式系统: (1)通过超文本标记语言(HTML)描述信息资源 (2)通过统一资源标识符(URI)定位信息资源 (3)通过超…...
2024/4/21 13:26:14 - 《Web Hacking 101》中的链接整理
《Web Hacking 101》中的链接整理 原书:Web Hacking 101 HTML 注入 Coinbase CommentsHackerOne Unintended HTML InclusionWithin Security Content Spoofing HTTP 参数污染 HackerOne Social Sharing ButtonsTwitter Unsubscribe NotificationsTwitter Web Int…...
2024/4/21 13:26:13
最新文章
- Sketch for Mac v100 中文激活版——设计师必备的矢量绘图软件
在数字化时代,设计无处不在,而Sketch for Mac正是一款专为设计师量身打造的设计利器。其简洁直观的操作界面、强大的功能和高效的工作流程,让您的创意无限释放。 Sketch for Mac v100 中文激活版下载 Sketch支持矢量图形编辑,无论…...
2024/5/8 11:32:45 - 梯度消失和梯度爆炸的一些处理方法
在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言,在此感激不尽。 权重和梯度的更新公式如下: w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...
2024/5/7 10:36:02 - 通过mapreduce程序统计旅游订单(wordcount升级版)
通过mapreduce程序统计旅游订单(wordcount升级版) 本文将结合一个实际的MapReduce程序案例,探讨如何通过分析旅游产品的预订数据来揭示消费者的偏好。 程序概览 首先,让我们来看一下这个MapReduce程序的核心代码。这个程序的目…...
2024/5/4 3:41:46 - 如何设计一个类似Dubbo的RPC框架
首先有个注册中心,提供的服务在注册中心注册保留各个服务的信息,用zookeeper来做。然后消费者需要去注册中心拿对应的服务信息,而且每个服务可能会存在于多台机器上。接着就发起一次请求了,怎么发起?基于动态代理,面向接口获取到一个动态代理,就是接口在本地的一个代理,…...
2024/5/7 12:15:09 - 【外汇早评】美通胀数据走低,美元调整
原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...
2024/5/8 6:01:22 - 【原油贵金属周评】原油多头拥挤,价格调整
原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...
2024/5/7 9:45:25 - 【外汇周评】靓丽非农不及疲软通胀影响
原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...
2024/5/4 23:54:56 - 【原油贵金属早评】库存继续增加,油价收跌
原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...
2024/5/7 14:25:14 - 【外汇早评】日本央行会议纪要不改日元强势
原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...
2024/5/4 23:54:56 - 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响
原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...
2024/5/4 23:55:05 - 【外汇早评】美欲与伊朗重谈协议
原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...
2024/5/4 23:54:56 - 【原油贵金属早评】波动率飙升,市场情绪动荡
原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...
2024/5/7 11:36:39 - 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试
原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...
2024/5/4 23:54:56 - 【原油贵金属早评】市场情绪继续恶化,黄金上破
原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...
2024/5/6 1:40:42 - 【外汇早评】美伊僵持,风险情绪继续升温
原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...
2024/5/4 23:54:56 - 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势
原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...
2024/5/4 23:55:17 - 氧生福地 玩美北湖(上)——为时光守候两千年
原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...
2024/5/7 9:26:26 - 氧生福地 玩美北湖(中)——永春梯田里的美与鲜
原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...
2024/5/4 23:54:56 - 氧生福地 玩美北湖(下)——奔跑吧骚年!
原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...
2024/5/4 23:55:06 - 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!
原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...
2024/5/5 8:13:33 - 「发现」铁皮石斛仙草之神奇功效用于医用面膜
原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...
2024/5/4 23:55:16 - 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者
原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...
2024/5/4 23:54:58 - 广州械字号面膜生产厂家OEM/ODM4项须知!
原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...
2024/5/6 21:42:42 - 械字号医用眼膜缓解用眼过度到底有无作用?
原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...
2024/5/4 23:54:56 - 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...
解析如下:1、长按电脑电源键直至关机,然后再按一次电源健重启电脑,按F8健进入安全模式2、安全模式下进入Windows系统桌面后,按住“winR”打开运行窗口,输入“services.msc”打开服务设置3、在服务界面,选中…...
2022/11/19 21:17:18 - 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。
%读入6幅图像(每一幅图像的大小是564*564) 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 - 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...
win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面,在等待界面中我们需要等待操作结束才能关机,虽然这比较麻烦,但是对系统进行配置和升级…...
2022/11/19 21:17:15 - 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...
有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows,请勿关闭计算机”的提示,要过很久才能进入系统,有的用户甚至几个小时也无法进入,下面就教大家这个问题的解决方法。第一种方法:我们首先在左下角的“开始…...
2022/11/19 21:17:14 - win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...
置信有很多用户都跟小编一样遇到过这样的问题,电脑时发现开机屏幕显现“正在配置Windows Update,请勿关机”(如下图所示),而且还需求等大约5分钟才干进入系统。这是怎样回事呢?一切都是正常操作的,为什么开时机呈现“正…...
2022/11/19 21:17:13 - 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...
Win7系统开机启动时总是出现“配置Windows请勿关机”的提示,没过几秒后电脑自动重启,每次开机都这样无法进入系统,此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一:开机按下F8,在出现的Windows高级启动选…...
2022/11/19 21:17:12 - 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...
有不少windows10系统用户反映说碰到这样一个情况,就是电脑提示正在准备windows请勿关闭计算机,碰到这样的问题该怎么解决呢,现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法:1、2、依次…...
2022/11/19 21:17:11 - 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...
今天和大家分享一下win7系统重装了Win7旗舰版系统后,每次关机的时候桌面上都会显示一个“配置Windows Update的界面,提示请勿关闭计算机”,每次停留好几分钟才能正常关机,导致什么情况引起的呢?出现配置Windows Update…...
2022/11/19 21:17:10 - 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...
只能是等着,别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚,只能是考虑备份数据后重装系统了。解决来方案一:管理员运行cmd:net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...
2022/11/19 21:17:09 - 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?
原标题:电脑提示“配置Windows Update请勿关闭计算机”怎么办?win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢?一般的方…...
2022/11/19 21:17:08 - 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...
关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!关机提示 windows7 正在配…...
2022/11/19 21:17:05 - 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...
钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...
2022/11/19 21:17:05 - 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...
前几天班里有位学生电脑(windows 7系统)出问题了,具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面,长时间没反应,无法进入系统。这个问题原来帮其他同学也解决过,网上搜了不少资料&#x…...
2022/11/19 21:17:04 - 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...
本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法,并在最后教给你1种保护系统安全的好方法,一起来看看!电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中,添加了1个新功能在“磁…...
2022/11/19 21:17:03 - 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...
许多用户在长期不使用电脑的时候,开启电脑发现电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机。。.这要怎么办呢?下面小编就带着大家一起看看吧!如果能够正常进入系统,建议您暂时移…...
2022/11/19 21:17:02 - 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...
配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!配置windows update失败 还原更改 请勿关闭计算机&#x…...
2022/11/19 21:17:01 - 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...
不知道大家有没有遇到过这样的一个问题,就是我们的win7系统在关机的时候,总是喜欢显示“准备配置windows,请勿关机”这样的一个页面,没有什么大碍,但是如果一直等着的话就要两个小时甚至更久都关不了机,非常…...
2022/11/19 21:17:00 - 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...
当电脑出现正在准备配置windows请勿关闭计算机时,一般是您正对windows进行升级,但是这个要是长时间没有反应,我们不能再傻等下去了。可能是电脑出了别的问题了,来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...
2022/11/19 21:16:59 - 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...
我们使用电脑的过程中有时会遇到这种情况,当我们打开电脑之后,发现一直停留在一个界面:“配置Windows Update失败,还原更改请勿关闭计算机”,等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢࿰…...
2022/11/19 21:16:58 - 如何在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