Browse Source

Merge pull request 'fix issue 315 and 317' (#319) from fix-92 into V202108

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/319
tags/v1.21.8^2
zhoupzh 4 years ago
parent
commit
cb5569faed
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      templates/repo/cloudbrain/new.tmpl
  2. +2
    -0
      web_src/js/components/Images.vue

+ 1
- 1
templates/repo/cloudbrain/new.tmpl View File

@@ -165,7 +165,7 @@

<div class="inline required field">
<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">
{{range .images}}
<option name="image" value="{{.Place}}">{{.PlaceView}}</option>


+ 2
- 0
web_src/js/components/Images.vue View File

@@ -362,10 +362,12 @@ export default {
searchName(){
if(this.activeName=='first'){
this.params.name = this.search
this.params.page = 1
this.getImageList()
}
if(this.activeName=='second'){
this.params1.name = this.search
this.params.page = 1
this.getImageList1()
}


Loading…
Cancel
Save