我想修复XACML语言中目标和条件之间的差异以及何时应使用目标或条件。
我正在开发一个 Dapp。我在前端使用 Angular 9。
我收到此错误:错误类型错误:无法读取未定义的属性“名称”。
我的代码是
app.component.ts
import { Component, OnInit } from '@angular/core';
import * as Donation from '../../Donation.json';
import { TypeDon } from './interfaces/TypeDon.js';
'use strict';
var Web3 = require('web3');
var DonationABI = Donation.abi;
const web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:22000'));
const donationContract = new web3.eth.Contract(DonationABI, '0xd0a5685a4ba479D0FF4E86Ca8300738573816c63');
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
ngOnInit(): void {
this.getAllTypes();
}
title = 'donationApp';
typeDons : TypeDon[]=[];
getAllTypes(){
donationContract.handleRevert=true;
donationContract.methods.getAllTypeDon().call(function(error, result){
console.log("resultat :" + …Run Code Online (Sandbox Code Playgroud) 我在我的网络应用程序中使用 Webdatarocks(angular 2,spring boot)。问题是我每次都必须重新配置 Webdatarocks 的列和行。我想保存一些我可以直接选择的配置。那可能吗?