| @@ -165,7 +165,7 @@ | |||||
| <div class="inline required field"> | <div class="inline required field"> | ||||
| <label>镜像</label> | <label>镜像</label> | ||||
| <input type="text" list="cloudbrain_image" placeholder="选择镜像" name="image" required autofocus maxlength="36"> | |||||
| <input type="text" list="cloudbrain_image" placeholder="选择镜像" name="image" required autofocus maxlength="255"> | |||||
| <datalist class="ui search" id="cloudbrain_image" style='width:385px;' name="image"> | <datalist class="ui search" id="cloudbrain_image" style='width:385px;' name="image"> | ||||
| {{range .images}} | {{range .images}} | ||||
| <option name="image" value="{{.Place}}">{{.PlaceView}}</option> | <option name="image" value="{{.Place}}">{{.PlaceView}}</option> | ||||
| @@ -69,7 +69,7 @@ | |||||
| prop="provider" | prop="provider" | ||||
| label="提供者" | label="提供者" | ||||
| width="120" | width="120" | ||||
| align="left" | |||||
| align="letf" | |||||
| sortable> | sortable> | ||||
| </el-table-column> | </el-table-column> | ||||
| <el-table-column | <el-table-column | ||||
| @@ -362,10 +362,12 @@ export default { | |||||
| searchName(){ | searchName(){ | ||||
| if(this.activeName=='first'){ | if(this.activeName=='first'){ | ||||
| this.params.name = this.search | this.params.name = this.search | ||||
| this.params.page = 1 | |||||
| this.getImageList() | this.getImageList() | ||||
| } | } | ||||
| if(this.activeName=='second'){ | if(this.activeName=='second'){ | ||||
| this.params1.name = this.search | this.params1.name = this.search | ||||
| this.params.page = 1 | |||||
| this.getImageList1() | this.getImageList1() | ||||
| } | } | ||||