Edit lines bugfix which only shows in vue prod mode
This commit is contained in:
parent
fb3221312d
commit
44b954c47c
5 changed files with 11 additions and 23814 deletions
2
amd/build/studyplan-editor-components.min.js
vendored
2
amd/build/studyplan-editor-components.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
11905
amd/build/vue.min.js
vendored
11905
amd/build/vue.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1216,7 +1216,7 @@ export default {
|
|||
* T-STUDYPLAN
|
||||
*/
|
||||
Vue.component('t-studyplan', {
|
||||
props: ['value', 'index'],
|
||||
props: ['value', 'index', ],
|
||||
data() {
|
||||
return {
|
||||
config: {
|
||||
|
@ -1812,6 +1812,9 @@ export default {
|
|||
} else {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
editable() {
|
||||
return true;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -1837,10 +1840,10 @@ export default {
|
|||
</div>
|
||||
<div class='controlbox'>
|
||||
<template v-if='editable || deletable'>
|
||||
<span class='control editable'>
|
||||
<span class='control editable' v-if='editable'>
|
||||
<a href='#' @click='onEdit'><i class='fa fa-pencil'></i></a>
|
||||
</span>
|
||||
<span class='control deletable'>
|
||||
<span class='control deletable' v-if='deletable'>
|
||||
<a v-if='deletable' href='#' @click='onDelete'><i class='text-danger fa fa-trash'></i></a>
|
||||
</span>
|
||||
</template>
|
||||
|
|
11905
amd/src/vue.js
11905
amd/src/vue.js
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue