@@ -93,11 +93,14 @@ export default {
const btn2 = [
{ key: 'cancel', label: '关闭' }
]
+ console.log('val',val)
if (val) {
this.toolbars = btn1
this.type = '1'
} else {
this.toolbars = btn2
+ this.type = ''
+
}