fix: 行权限未清除之前的选择
This commit is contained in:
parent
f90466bc23
commit
1e0d699afd
@ -1232,7 +1232,6 @@ export default {
|
||||
this.timeMachine = setTimeout(() => {
|
||||
if (index === this.changeIndex) {
|
||||
this.changeScale()
|
||||
console.log('changeScale')
|
||||
}
|
||||
this.destroyTimeMachine()
|
||||
}, 1500)
|
||||
|
||||
@ -21,11 +21,9 @@ export function deepCopy(target) {
|
||||
}
|
||||
|
||||
export function swap(arr, i, j) {
|
||||
console.log('before:' + i + '-->' + j + JSON.stringify(arr))
|
||||
const temp = arr[i]
|
||||
arr[i] = arr[j]
|
||||
arr[j] = temp
|
||||
console.log('after:' + JSON.stringify(arr))
|
||||
}
|
||||
|
||||
export function moveUp(arr, i) {
|
||||
|
||||
@ -39,12 +39,6 @@
|
||||
<el-button v-if="table.type ==='union'" size="mini" @click="editUnion">
|
||||
{{ $t('dataset.edit_union') }}
|
||||
</el-button>
|
||||
<!-- <el-button size="mini" @click="edit">-->
|
||||
<!-- {{ $t('dataset.edit_field') }}-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button size="mini" type="primary" @click="createChart">-->
|
||||
<!-- {{$t('dataset.create_view')}}-->
|
||||
<!-- </el-button>-->
|
||||
</el-row>
|
||||
</el-row>
|
||||
<el-divider />
|
||||
@ -62,8 +56,8 @@
|
||||
<el-tab-pane v-if="table.mode === 1 && (table.type === 'excel' || table.type === 'db' || table.type === 'sql')" :label="$t('dataset.update_info')" name="updateInfo">
|
||||
<update-info v-if="tabActive=='updateInfo'" :param="param" :table="table" />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane v-if="isPluginLoaded" :lazy="true" :label="$t('dataset.row_permissions')" name="second">
|
||||
<plugin-com v-if="isPluginLoaded" ref="RowPermissions" component-name="RowPermissions" :obj="table"/>
|
||||
<el-tab-pane v-if="isPluginLoaded" :lazy="true" :label="$t('dataset.row_permissions')" name="rowPermissions">
|
||||
<plugin-com v-if="isPluginLoaded && tabActive=='rowPermissions'" ref="RowPermissions" component-name="RowPermissions" :obj="table"/>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</el-row>
|
||||
|
||||
@ -88,7 +88,6 @@ export default {
|
||||
},
|
||||
|
||||
cancel() {
|
||||
console.log('user cancel')
|
||||
},
|
||||
buildRequest(rows) {
|
||||
const targetIds = rows.map(row => row.userId)
|
||||
|
||||
@ -33,8 +33,6 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
$route(to, from) {
|
||||
console.log(to)
|
||||
console.log(from)
|
||||
// 对路由变化作出响应...
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user