eb5b05a8 by liangyifan

弹窗

1 parent 6834eda9
......@@ -25,6 +25,8 @@
confirmText: '确认',
isSync: false,
isShow: false,
cancel: function () {},
confirm: function () {},
editItem:"",
titleStyle:'',
width:"75%",
......@@ -42,10 +44,12 @@
methods: {
onCancel () {
this.isShow = false
this.cancel()
},
onConfirm () {
this.loading = true
this.$refs.childRef.childFn()
this.confirm()
},
loadingFn(e){ //加载状态
this.loading = e
......