|
@@ -36,8 +36,8 @@ export default class GmTools extends Vue {
|
|
|
@Prop()
|
|
|
propConfig:any
|
|
|
|
|
|
- // @Prop()
|
|
|
- // customTools:any;
|
|
|
+ @Prop()
|
|
|
+ customTools:any;
|
|
|
|
|
|
get audit(){
|
|
|
return this.propConfig?.audit ? this.propConfig.audit : {}
|
|
@@ -64,6 +64,9 @@ export default class GmTools extends Vue {
|
|
|
if(this.propConfig?.customTools && this.propConfig?.customTools.length > 0){
|
|
|
this.setCustomTools(this.propConfig?.customTools)
|
|
|
}
|
|
|
+ if(this.customTools){
|
|
|
+ this.setCustomTools(this.customTools)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
setTool(data:any){
|