wizard for publishing: step 0
This commit is contained in:
parent
d9b26afb3f
commit
9d195c450e
10 changed files with 102 additions and 55 deletions
|
@ -10,7 +10,7 @@ function initialState() {
|
|||
project_id: "",
|
||||
|
||||
creating_corporation: "GBA Repository",
|
||||
language: "en",
|
||||
language: "",
|
||||
embargo_date: "",
|
||||
belongs_to_bibliography: 0,
|
||||
|
||||
|
@ -55,6 +55,12 @@ const dataset = new Vue({
|
|||
// };
|
||||
// this.reset(json);
|
||||
},
|
||||
watch: {
|
||||
language(val) {
|
||||
this.title_main.language = val;
|
||||
this.abstract_main.language = val;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
reset() {
|
||||
Object.assign(this.$data, initialState());
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue