This commit is contained in:
こぴなたみぽ 2018-02-07 18:17:59 +09:00
parent ea70350dcc
commit 07efc8e150
90 changed files with 427 additions and 425 deletions

View file

@ -183,7 +183,7 @@
this.nidState = null;
this.onChangeNid = () => {
const nid = this.refs.nid.value;
const nid = this.$refs.nid.value;
if (nid == '') {
this.update({
@ -223,13 +223,13 @@
};
this.onsubmit = () => {
const name = this.refs.name.value;
const nid = this.refs.nid.value;
const description = this.refs.description.value;
const cb = this.refs.cb.value;
const name = this.$refs.name.value;
const nid = this.$refs.nid.value;
const description = this.$refs.description.value;
const cb = this.$refs.cb.value;
const permission = [];
this.refs.permission.querySelectorAll('input').forEach(el => {
this.$refs.permission.querySelectorAll('input').forEach(el => {
if (el.checked) permission.push(el.value);
});