Commit f9ba70e6 authored by ZhuChunYang's avatar ZhuChunYang

update

parent a5a82f29
......@@ -54,7 +54,7 @@
<select name="owner" class="layui-select" lay-ignore style="width: 182px;">
<?php if (is_array($roles)): ?>
<?php foreach($roles as $role): ?>
<option value="<?= $role ?>"><?= $role ?></option>
<option value="<?= $role ?>" <?php if($role == $model->owner){?> selected <?php }?> > <?= $role ?></option>
<?php endforeach; ?>
<?php endif; ?>
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment