RError.com

RError.com Logo RError.com Logo

RError.com Navigation

  • 主页

Mobile menu

Close
  • 主页
  • 系统&网络
    • 热门问题
    • 最新问题
    • 标签
  • Ubuntu
    • 热门问题
    • 最新问题
    • 标签
  • 帮助
主页 / user-308022

titaniche's questions

Martin Hope
titaniche
Asked: 2020-02-06 20:45:06 +0000 UTC

Kotlin + Gradle Kotlin DSL + KAPT + MapStruct

  • 0

祝大家有美好的一天。我在尝试将 MapStruct 功能添加到项目时遇到了问题。而且,错误就像滚雪球一样,一个接一个。我会很高兴得到任何帮助。为了:

  1. 对于初学者,我不明白为什么 Intellij IDEA 不能正确理解kapt. 事实上,错误总是出现Unresolverd reference: kapt。同时,IDE 建议导入某个类import org.jetbrains.kotlin.kapt3.base.Kapt.kapt,因此该构造kapt可以在块中使用dependencies,但该类的实例应该作为参数KaptOptions,我似乎根本不需要。如果删除导入,IDE 会发誓unresolved reference: kapt,但项目的构建是成功的。我不会说这很关键,但它会切入眼睛并分散注意力。一般来说,我不希望有任何“红色”文件,此外,IDE 不断建议导入“红色” kapt,这也很不方便。

  2. 该项目有一个实体系统。尝试执行gradle clean build时,出现错误: 实体类e: <path_to_class>\System.java:3: error: System is already defined in this compilation unit import java.lang.System; 中没有导入(原则上,其他任何地方都没有)。例如,如果您将实体重命名为- 错误就会消失,但我不想诉诸这种方法。java.lang.SystemSystemSystemm

package com.sprojects.core.server.model.entity

import java.util.Date
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.FetchType
import javax.persistence.Id
import javax.persistence.JoinColumn
import javax.persistence.ManyToOne
import javax.persistence.OneToMany
import javax.persistence.PreUpdate
import javax.persistence.Table
import javax.persistence.Temporal
import javax.persistence.TemporalType

@Entity
@Table(name = "systems")
data class System(
    // ... Some fields here ... //
) {
   // ... Some code here //
}
  1. 不生成 MapStruct 映射器实现。显然,这个问题与问题 2 密切相关,但无论如何它并不能解决它。试图得到一个映射器:val mapper = Mappers.getMapper(MyConverter::class.java)。错误:java.lang.ClassNotFoundException: Cannot find implementation for com.sprojects.core.server.model.dto.impl.MyConverter。build.gradle.kts 的内容*:
plugins {
    // kotlin
    id("kotlin")
    kotlin("jvm")
    kotlin("kapt")
    kotlin("plugin.spring")
    kotlin("plugin.jpa")
    // Spring
    id("org.springframework.boot")
    id("io.spring.dependency-management")
    // Other
    id("idea")
    id("com.palantir.docker")
    id("org.jlleitschuh.gradle.ktlint")
    id("net.ltgt.apt") version "0.21"
    id("net.ltgt.apt-idea") version "0.21"
}

group = "${rootProject.group}"
version = "${rootProject.version}"
java.sourceCompatibility = JavaVersion.VERSION_1_8
java.targetCompatibility = JavaVersion.VERSION_1_8

configurations {
    compileOnly {
        extendsFrom(configurations.annotationProcessor.get())
    }
}

repositories {
    mavenCentral()
    jcenter()
}

dependencies {
    implementation("org.springframework.boot:spring-boot-starter-web")
    implementation("org.springframework.boot:spring-boot-starter-actuator")
    implementation("org.springframework.boot:spring-boot-starter-data-jdbc")
    implementation("org.springframework.boot:spring-boot-starter-data-jpa")
    implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
    implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
    implementation("org.jetbrains.kotlin:kotlin-reflect")
    implementation("org.postgresql:postgresql")
    implementation("io.jsonwebtoken:jjwt:${rootProject.extra["jwtVersion"]}")
    implementation("org.springframework.boot:spring-boot-starter-security")
    implementation("org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:${rootProject.extra["springBootVersion"]}")
    implementation("org.springframework.security:spring-security-jwt:${rootProject.extra["springSecurityJwtVersion"]}")
    implementation("org.springframework.boot:spring-boot-configuration-processor")

    testImplementation("org.springframework.boot:spring-boot-starter-test")
    testImplementation("org.springframework.security:spring-security-test")
    testImplementation("org.testcontainers:testcontainers:${rootProject.extra["testContainersVersion"]}")
    testImplementation("org.testcontainers:postgresql:${rootProject.extra["testContainersVersion"]}")
    testImplementation("org.springframework.security:spring-security-test")

    implementation(
        group = "io.springfox",
        name = "springfox-swagger2",
        version = "${rootProject.extra["swagger2Version"]}"
    )
    implementation(
        group = "io.springfox",
        name = "springfox-swagger-ui",
        version = "${rootProject.extra["swagger2Version"]}"
    )
    implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
    implementation(
        group = "org.mapstruct",
        name = "mapstruct",
        version = "${rootProject.extra["mapStructVersion"]}"
    )
    // При такой попытке не работает сборка проекта
    kapt("org.mapstruct:mapstruct-processor:${rootProject.extra["mapStructVersion"]}")

    // При такой попытке работает сборка, но не создаются реализации мапперов
    /*annotationProcessor(
        group = "org.mapstruct",
        name = "mapstruct-processor",
        version = "${rootProject.extra["mapStructVersion"]}"
    )*/
}

如果您需要提供更多数据,我会很高兴提供任何帮助 - 我会提供。谢谢你。

更新。问题 1 不相关。IDE 提示帮助:Apply Context.

kotlin
  • 2 个回答
  • 10 Views
Martin Hope
titaniche
Asked: 2020-01-30 20:45:06 +0000 UTC

Angular 6 + Spring Boot。应用程序加载不正确

  • 0

再会。请告诉我为什么会出现以下问题: 应用程序构建并启动后,浏览器中的窗口显示奇怪的内容。此外,消息来源显示没有编译过的脚本。

页

但是,如果您将其写入地址栏中.../index.html,应用程序将加载并开始工作。

页

然而,如果您刷新浏览器页面 - 在这种情况下,情况将再次重复,如上图(如果 url 是 form url/<application_context>/)或 Whitelabel Error Page 错误(如果 url 是 form url/<application_context>/child/anotherChild...)

我对可能导致这些问题的原因感到有些困惑,所以我什至不知道要包括哪些资源来帮助解决问题。以下是其中一些:

包.json

{
  "name": "asterisk-prime-ui",
  "version": "1.0.0",
  "..": "main.ts",
  "scripts": {
    "ng": "ng",
    "start": "ng serve --proxy-config proxy.conf.json",
    "build-prod": "ng build --prod",
    "build-dev": "ng build --aot --build-optimizer --vendor-chunk",
    "extract": "ngx-translate-extract --input ./src/app --output ./src/assets/i18n/*.json --clean --sort --format namespaced-json --marker _",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^6.1.7",
    "@angular/cdk": "^6.4.7",
    "@angular/common": "^6.1.7",
    "@angular/compiler": "^6.1.7",
    "@angular/core": "^6.1.7",
    "@angular/flex-layout": "^6.0.0-beta.18",
    "@angular/forms": "^6.1.7",
    "@angular/http": "^6.1.7",
    "@angular/material": "^6.4.7",
    "@angular/platform-browser": "^6.1.7",
    "@angular/platform-browser-dynamic": "^6.1.7",
    "@angular/router": "^6.1.7",
    "core-js": "^2.5.4",
    "hammerjs": "^2.0.8",
    "net": "^1.0.2",
    "rxjs": "^6.3.2",
    "rxjs-compat": "^6.3.2",
    "zone.js": "^0.8.29"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.7.0",
    "@angular/cli": "~6.1.5",
    "@angular/compiler-cli": "^6.1.7",
    "@angular/language-service": "^6.1.7",
    "@biesbjerg/ngx-translate-extract": "^2.3.4",
    "@ngx-translate/core": "^10.0.2",
    "@ngx-translate/http-loader": "^3.0.1",
    "@types/jasmine": "~2.8.6",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "@types/sockjs-client": "^1.1.0",
    "@types/stompjs": "^2.3.4",
    "@types/yargs": "^12.0.5",
    "codelyzer": "^4.4.4",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "^3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "^2.0.3",
    "karma-jasmine": "~1.1.1",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "sockjs-client": "^1.1.5",
    "stompjs": "^2.3.3",
    "ts-node": "~5.0.1",
    "tslint": "~5.9.1",
    "typescript": "^2.9.2",
    "yargs": "^12.0.5"
  }
}

tsconfig.json

{
  "compileOnSave": false,
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "baseUrl": "/",
    "target": "es5",
    "module": "es2015",
    "moduleResolution": "node",
    "sourceMap": true,
    "declaration": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": [
      "es6",
      "es7",
      "dom"
    ],
    "typeRoots": [
      "node_modules/@types"
    ]
  },
  "exclude": [
    "../../node_modules"
  ]
}

角.json

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "asterisk-prime-ui": {
      "root": "",
      "sourceRoot": "src",
      "projectType": "application",
      "prefix": "app",
      "schematics": {
        "@schematics/angular:component": {
          "styleext": "less"
        }
      },
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "../../../../asterisk-prime/src/main/resources/static/asterisk-prime-ui",
            "index": "src/index.html",
            "main": "src/main.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "src/tsconfig.app.json",
            "assets": [
              {
                "glob": "**/*",
                "input": "src/assets",
                "output": "/assets"
              },
              {
                "glob": "favicon.ico",
                "input": "src",
                "output": "/"
              }
            ],
            "styles": [
              {
                "input": "node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
              },
              {
                "input": "src/styles/global.scss"
              }
            ],
            "scripts": []
          },
          "configurations": {
            "production": {
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractCss": true,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true
            }
          }
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "browserTarget": "asterisk-prime-ui:build"
          },
          "configurations": {
            "production": {
              "browserTarget": "asterisk-prime-ui:build:production"
            }
          }
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "asterisk-prime-ui:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "src/test.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "src/tsconfig.spec.json",
            "karmaConfig": "src/karma.conf.js",
            "styles": [
              {
                "input": "node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
              },
              {
                "input": "src/styles/global.scss"
              }
            ],
            "scripts": [],
            "assets": [
              {
                "glob": "**/*",
                "input": "src/assets",
                "output": "/assets"
              },
              {
                "glob": "favicon.ico",
                "input": "src",
                "output": "/"
              }
            ]
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
              "src/tsconfig.app.json",
              "src/tsconfig.spec.json"
            ],
            "exclude": [
              "**/node_modules/**"
            ]
          }
        }
      }
    },
    "asterisk-prime-ui-e2e": {
      "root": "e2e/",
      "projectType": "application",
      "architect": {
        "e2e": {
          "builder": "@angular-devkit/build-angular:protractor",
          "options": {
            "protractorConfig": "e2e/protractor.conf.js",
            "devServerTarget": "asterisk-prime-ui:serve"
          },
          "configurations": {
            "production": {
              "devServerTarget": "asterisk-prime-ui:serve:production"
            }
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": "e2e/tsconfig.e2e.json",
            "exclude": [
              "**/node_modules/**"
            ]
          }
        }
      }
    }
  },
  "defaultProject": "asterisk-prime-ui",
  "schematics": {
    "@schematics/angular:component": {
      "styleext": "scss"
    }
  }
}

索引.html

<!doctype html>
<html lang="en">
<head>
  <base href=".">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>AsteriskPrimeUI</title>
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" type="image/x-icon" href="favicon.ico">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
</head>
<body>
<app-root>Loading...</app-root>
</body>
</html>

前端部分在 spring-boot 应用程序的静态资源中组装和布局(请参阅 参考资料"outputPath": "../../../../asterisk-prime/src/main/resources/static/asterisk-prime-ui")。此外,所有这些都收集在战争档案中。

WebMvcConfig.java

@Configuration
@EnableWebMvc
public class WebMvcConfig implements WebMvcConfigurer
{
    @Value("#{'${web.mvc.crossOrigins}'.split(',')}")
    private String[] crossOrigins;

    private static final String[] CLASSPATH_RESOURCE_LOCATIONS = {
            "classpath:/META-INF/resources/",
            "classpath:/resources/",
            "classpath:/static/",
            "classpath:/public/",
            "classpath:/static/asterisk-prime-ui/"
    };

    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry)
    {
        if (!registry.hasMappingForPattern("/webjars/**"))
        {
            registry.addResourceHandler("/webjars/**")
                    .addResourceLocations("/webjars/");
        }

        if (!registry.hasMappingForPattern("/**"))
        {
            registry.addResourceHandler("/**")
                    .addResourceLocations(CLASSPATH_RESOURCE_LOCATIONS);
        }
    }

    @Override
    public void addCorsMappings(CorsRegistry registry)
    {
        registry.addMapping("/api/**")
                .allowedOrigins(crossOrigins)
                .allowCredentials(true)
                .maxAge(3600);
    }

    @Bean
    public ViewResolver urlViewResolver()
    {
        UrlBasedViewResolver viewResolver = new UrlBasedViewResolver();
        viewResolver.setViewClass(InternalResourceView.class);
        return viewResolver;
    }
}

提前感谢大家的帮助。

spring-mvc
  • 1 个回答
  • 10 Views
Martin Hope
titaniche
Asked: 2020-09-14 20:35:37 +0000 UTC

角 CLI。自定义配置服务

  • -1

再会。

请帮我解决以下问题: 我有一个应用程序配置文件 - app.config.json 它包含一些有用的信息。还有一个尊重此文件结构的界面。此外,还有一项服务可以将文件中的数据加载到静态接口对象中。但是,当应用程序启动时,似乎没有发生下载。

app.config.json

{
  "appUrl": "http://localhost:8080/asterisk-prime",
  "routes": {
    "device": "device",
    "extension": "extension",
    "queue": "queue",
    "queueMember": "queueMember"
  },
  "apiEndpoints": {
    "device": "/api/device",
    "extension": "/api/extension",
    "queue": "/api/queue",
    "queueMember": "/api/queueMember"
  },
  "stompEndpoint": "/socket"
}

iapp.config.ts

export interface IAppConfig {
  appUrl: string;
  routes: {
    device: string,
    extension: string,
    queue: string,
    queueMember: string
  };
  apiEndpoints: {
    device: string,
    extension: string,
    queue: string,
    queueMember: string
  };
  stompEndpoint: string;
}

app.config.service.ts

@Injectable({
  providedIn: 'root'
})
export class AppConfigService {
  static settings: IAppConfig;

  constructor(private httpClient: HttpClient) {
  }

  loadConfig() {
    const configFile = 'src/assets/config/app.config.json';
    return new Promise<void>((resolve, reject) => {
      this.httpClient.get<IAppConfig>(configFile)
        .toPromise()
        .then(response => {
          AppConfigService.settings = response;
          LoggerService.log('Config was loaded');
          resolve();
        })
        .catch(err => {
          LoggerService.error('Error while loading config.', err);
          reject(`Could not load file '${configFile}': ${JSON.stringify(err)}`);
        });
    });
  }
}

app.module.ts

...
export function loadConfig(appConfigService: AppConfigService) {
  return () => appConfigService.loadConfig();
}
...
providers: [
    AppConfigService,
    {
      provide: APP_INITIALIZER,
      useFactory: loadConfig,
      deps: [AppConfigService],
      multi: true
    }
  ],
...

实际上,错误发生在路由初始化期间的路由模块中。

应用程序路由.module.ts

const routes: Routes = [
  {path: '', redirectTo: '/', pathMatch: 'full'},
  {path: '', component: HomePageComponent},
  {path: 'about', component: AboutPageComponent},
  {path: AppConfigService.settings.routes.device, loadChildren: './path/to/children.module#ChildrenModule'},
  {path: AppConfigService.settings.routes.extension, loadChildren: './path/to/children.module#ChildrenModule'},
  {path: AppConfigService.settings.routes.queue, loadChildren: './path/to/children.module#ChildrenModule'},
  {path: AppConfigService.settings.routes.queueMember, loadChildren: './path/to/children.module#ChildrenModule'}

浏览器错误:Cannot read property 'routes' of undefined。

angular
  • 1 个回答
  • 10 Views
Martin Hope
titaniche
Asked: 2020-09-01 20:38:53 +0000 UTC

Angular CLI 和材料表

  • 0

大家好。请告诉我为什么我不在材料表中显示数据。我完全无法理解。而且,还有数据,而且行数和实际数据量相对应,但表根本就是空的。

空表

设备模型.ts

export class DeviceModel {
  private _id: number;
  private _device: string;
  private _status: string;
  private _lastUpdate: Date;

  contructor(id?: number,
             device?: string,
             status?: string,
             lastUpdate?: Date) {
    this._id = id;
    this._device = device;
    this._status = status;
    this._lastUpdate = lastUpdate;
  }

  get id(): number {
    return this._id;
  }

  set id(value: number) {
    this._id = value;
  }

  get device(): string {
    return this._device;
  }

  set device(value: string) {
    this._device = value;
  }

  get status(): string {
    return this._status;
  }

  set status(value: string) {
    this._status = value;
  }

  get lastUpdate(): Date {
    return this._lastUpdate;
  }

  set lastUpdate(value: Date) {
    this._lastUpdate = value;
  }
}

设备服务.ts

import {Injectable} from '@angular/core';
import {HttpClient} from "@angular/common/http";
import {Observable, of} from "rxjs";
import {AppConfig} from "../../../config/app.config";
import {DeviceModel} from "./device.model";
import {LoggerService} from "../../../core/shared/logger.service";
import {catchError, tap} from "rxjs/operators";

@Injectable({
  providedIn: 'root'
})
export class DeviceService {

  private readonly deviceUrl: string;

  constructor(private httpClient: HttpClient) {
    this.deviceUrl = AppConfig.endpoints.device;
  }

  private static handleError<T>(operation = 'operation', result?: T) {
    return (error: any): Observable<T> => {

      // TODO: send the error to remote logging infrastructure
      console.error(error); // log to console instead

      // TODO: better job of transforming error for user consumption
      LoggerService.log(`${operation} failed: ${error.message}`);

      if (error.status >= 500) {
        throw error;
      }

      return of(result as T);
    };
  }

  public getAllDevices(): Observable<DeviceModel[]> {
    return this.httpClient.get<DeviceModel[]>(this.deviceUrl)
      .pipe(
        tap(() => LoggerService.log(`fetched devices`)),
        catchError(DeviceService.handleError('getDevices', []))
      );
  }
}

设备列表.component.ts

import {Component, OnInit} from '@angular/core';
import {DeviceModel} from "../../shared/device.model";
import {DeviceService} from "../../shared/device.service";

@Component({
  selector: 'app-device',
  templateUrl: './device-list.component.html',
  styleUrls: ['./device-list.component.scss']
})

export class DeviceListComponent implements OnInit {

  devices: DeviceModel[];
  displayedColumns: ['id', 'device', 'state', 'lastUpdate'];

  constructor(private deviceService: DeviceService) {
  }

  ngOnInit() {
    this.deviceService.getAllDevices().subscribe((devices: DeviceModel[]) => {
      this.devices = devices
    });
    console.log(this.devices);
  }

}

设备列表.components.html

  <!-- Table container-->
  <div class="table-container">
    <mat-table #deviceTable [dataSource]="devices">

      <!-- Id Column -->
      <ng-container matColumnDef="id">
        <mat-header-cell *matHeaderCellDef> Id </mat-header-cell>
        <mat-cell *matCellDef="let device">{{device.id}}</mat-cell>
      </ng-container>

      <!-- Device Column -->
      <ng-container matColumnDef="device">
        <mat-header-cell *matHeaderCellDef> Device </mat-header-cell>
        <mat-cell *matCellDef="let device">{{device.device}}</mat-cell>
      </ng-container>

      <!-- Status Column -->
      <ng-container matColumnDef="state">
        <mat-header-cell *matHeaderCellDef> State </mat-header-cell>
        <mat-cell *matCellDef="let device">{{device.state}}</mat-cell>
      </ng-container>

      <!-- Lst update Column -->
      <ng-container matColumnDef="lastUpdate">
        <mat-header-cell *matHeaderCellDef> Last update </mat-header-cell>
        <mat-cell *matCellDef="let device">{{device.lastUpdate}}</mat-cell>
      </ng-container>

      <mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
      <mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row>

    </mat-table>
  </div>
  <!-- Table container-->

如果您在常规 html 表中显示 - 数据就在那里。

html表

<div>
    <table>
      <thead>
      <tr>
        <th>Id</th>
        <th>DeviceModel</th>
        <th>State</th>
        <th>Last update</th>
      </tr>
      </thead>

      <tbody>
      <tr *ngFor="let device of devices">
        <td>{{device.id}}</td>
        <td>{{device.device}}</td>
        <td>{{device.status}}</td>
        <td>{{device.lastUpdate}}</td>
      </tr>
      </tbody>
    </table>
  </div>

当然,我倾向于相信 DeviceService 中的 DeviceModel 中的数据映射在某种程度上是错误的。但我不知道出了什么问题。我还在控制台中附加了日志的内容。

铬日志

一般来说,很明显我的设备数组是未定义的。请告诉我如何解决这种情况?

提前非常感谢大家。

PS:最近几天,我一直在学习 Angular,所以如果我有时会忽略相当明显的事情,我深表歉意。

我已经根据答案进行了调整。

谢谢,有帮助,现在可以了。

angular
  • 1 个回答
  • 10 Views

Sidebar

Stats

  • 问题 10021
  • Answers 30001
  • 最佳答案 8000
  • 用户 6900
  • 常问
  • 回答
  • Marko Smith

    我看不懂措辞

    • 1 个回答
  • Marko Smith

    请求的模块“del”不提供名为“default”的导出

    • 3 个回答
  • Marko Smith

    "!+tab" 在 HTML 的 vs 代码中不起作用

    • 5 个回答
  • Marko Smith

    我正在尝试解决“猜词”的问题。Python

    • 2 个回答
  • Marko Smith

    可以使用哪些命令将当前指针移动到指定的提交而不更改工作目录中的文件?

    • 1 个回答
  • Marko Smith

    Python解析野莓

    • 1 个回答
  • Marko Smith

    问题:“警告:检查最新版本的 pip 时出错。”

    • 2 个回答
  • Marko Smith

    帮助编写一个用值填充变量的循环。解决这个问题

    • 2 个回答
  • Marko Smith

    尽管依赖数组为空,但在渲染上调用了 2 次 useEffect

    • 2 个回答
  • Marko Smith

    数据不通过 Telegram.WebApp.sendData 发送

    • 1 个回答
  • Martin Hope
    Alexandr_TT 2020年新年大赛! 2020-12-20 18:20:21 +0000 UTC
  • Martin Hope
    Alexandr_TT 圣诞树动画 2020-12-23 00:38:08 +0000 UTC
  • Martin Hope
    Air 究竟是什么标识了网站访问者? 2020-11-03 15:49:20 +0000 UTC
  • Martin Hope
    Qwertiy 号码显示 9223372036854775807 2020-07-11 18:16:49 +0000 UTC
  • Martin Hope
    user216109 如何为黑客设下陷阱,或充分击退攻击? 2020-05-10 02:22:52 +0000 UTC
  • Martin Hope
    Qwertiy 并变成3个无穷大 2020-11-06 07:15:57 +0000 UTC
  • Martin Hope
    koks_rs 什么是样板代码? 2020-10-27 15:43:19 +0000 UTC
  • Martin Hope
    Sirop4ik 向 git 提交发布的正确方法是什么? 2020-10-05 00:02:00 +0000 UTC
  • Martin Hope
    faoxis 为什么在这么多示例中函数都称为 foo? 2020-08-15 04:42:49 +0000 UTC
  • Martin Hope
    Pavel Mayorov 如何从事件或回调函数中返回值?或者至少等他们完成。 2020-08-11 16:49:28 +0000 UTC

热门标签

javascript python java php c# c++ html android jquery mysql

Explore

  • 主页
  • 问题
    • 热门问题
    • 最新问题
  • 标签
  • 帮助

Footer

RError.com

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

帮助

© 2023 RError.com All Rights Reserve   沪ICP备12040472号-5