孙家正 1 year ago
parent
commit
0ad8752cbc
  1. 1
      pages/home/login.vue
  2. 2
      pages/massif/myPlant.vue
  3. 1
      pages/massif/plant_plan.vue
  4. 2
      uni_modules/d-form/components/d-form/d-form.vue

1
pages/home/login.vue

@ -112,7 +112,6 @@ export default {
//#ifdef APP-PLUS
this.getVersion()
plus.runtime.getProperty(plus.runtime.appid, async info=>{
console.log("app ",info)
this.versionCode = info.versionCode
})
//#endif

2
pages/massif/myPlant.vue

@ -173,9 +173,7 @@
</template>
<script>
import request,{host} from '@/common/request.js'
import dSearch from '../../uni_modules/d-search/components/d-search/d-search.vue'
export default {
components: { dSearch },
data(){
return{
host:host('imgUrl'),

1
pages/massif/plant_plan.vue

@ -119,7 +119,6 @@ export default {
}
},
submit(){
console.log(this.formData,'----formData-----')
this.$refs.form.validate().then(async valid=>{
if(valid){
var res=await request("/api/plantPlan/add",{

2
uni_modules/d-form/components/d-form/d-form.vue

@ -578,7 +578,7 @@ import {computeArea} from '@/common/utils'
pickerContent(){//
if(this.type=='select'){
var column=this.$defineArray(setPickerVal(this.columns[0], this.value).filter(v=>v));
return this.showValue(column)||column.at(-1)?.label||this.placeholder||`请选择${this.labelName}`
return this.showValue(column)||column.slice(-1)[0]?.label||this.placeholder||`请选择${this.labelName}`
}
return ''
},

Loading…
Cancel
Save