|
@@ -163,7 +163,7 @@ export default {
|
|
|
EditRow: this.form.input5,
|
|
|
DeleteRow: this.form.input3
|
|
|
}
|
|
|
- this.$emit('get-data', obj)
|
|
|
+ this.$emit('getData', obj)
|
|
|
const arr = this.$store.getters.authArrs
|
|
|
const datas = _.unionBy(arr, 'AuthId')
|
|
|
const id = this.$store.getters.authId
|
|
@@ -171,7 +171,7 @@ export default {
|
|
|
if (datas.length) {
|
|
|
// const dat = datas[datas.length - 1]
|
|
|
let dat = datas[datas.length - 1]
|
|
|
- datas.map(item=>{
|
|
|
+ datas.map(item => {
|
|
|
if (item.AuthId == id) {
|
|
|
dat = item;
|
|
|
}
|