data

credtys:[
				{
					credlabel:'Choose Credential',
					credBitems: [
						'Choose Credential',
						'Opensea Transaction Taker',
						'Uniswap V3 Trader',
						'Sushi Trader on BSC',
					],
				},
			],

methods

cretAdd(){
	var str = [
		{
			credlabel:'Choose Credential',
			credBitems: [
				'Choose Credential1',
				'Opensea Transaction Taker2',
				'Uniswap V3 Trader',
				'Sushi Trader on BSC',
			],
		}
	]
	this.credtys.push(str)
	this.$forceUpdate()
},
cretDel(index){
	this.credtys.splice(index, 1)
},

By lxcss

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注