换用其他函数分割分组

pull/1/head
Doflatango 2017-04-10 11:08:03 +08:00 committed by miraclesu
parent 8a1f13d677
commit 97acb2ccfb
3 changed files with 7 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -103,6 +103,7 @@
<script> <script>
import JobEditRule from './JobEditRule.vue'; import JobEditRule from './JobEditRule.vue';
import Dropdown from './basic/Dropdown.vue'; import Dropdown from './basic/Dropdown.vue';
import {split} from '../libraries/functions';
export default { export default {
name: 'job-edit', name: 'job-edit',
@ -157,7 +158,7 @@ export default {
}, },
changeAlarmReceiver: function(val, text){ changeAlarmReceiver: function(val, text){
this.job.to = val.split(','); this.job.to = split(val, ',');
}, },
removeRule: function(index){ removeRule: function(index){