英文版本配置,部分报错问题修复
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="search">
|
||||
<img src="/static/aidex/images/search.png" class="filterImg">
|
||||
<image src="/static/aidex/images/search.png" class="filterImg"></image>
|
||||
<u-input v-model="dec" style="width: 100%" type="text" :placeholder="placeholder" :clearable="false" @blur="blur" />
|
||||
<view class="shaixuan" @click="open" id="search">
|
||||
<text style="white-space: nowrap">{{ $t('homePage.alarm.sift') }}</text>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<view class="chart-box">
|
||||
<zero-loading v-if="chartLoading"></zero-loading>
|
||||
<charts v-else-if="!chartLoading && valData.length" :id="'historyChart'" :options="history_option"></charts>
|
||||
<view v-else-if="!chartLoading && !valData.length" class="empty">{{this.$t('homePage.home.noData')}}</view>
|
||||
<view v-else-if="!chartLoading && !valData.length" class="empty">{{$t('homePage.home.noData')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -123,7 +123,7 @@ export default {
|
||||
resolve();
|
||||
})
|
||||
.catch((err) => {
|
||||
reject("错误");
|
||||
reject("error");
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<view class="search" >
|
||||
<img src="/static/aidex/images/search.png" class="filterImg">
|
||||
<image src="/static/aidex/images/search.png" class="filterImg"></image>
|
||||
|
||||
<u-input v-model="dec" style="width:100%;" type="text" :placeholder="this.$t('homePage.device.inputNameQuery')" :clearable='false'/>
|
||||
<u-input v-model="dec" style="width:100%;" type="text" :placeholder="$t('homePage.device.inputNameQuery')" :clearable='false'/>
|
||||
<view class="shaixuan" id="search">
|
||||
<u-button @click="search" size="mini" shape="circle" :custom-style="{backgroundColor:'#009458',color:'#FFFFFF'}">{{this.$t('homePage.device.query')}}</u-button>
|
||||
<u-button @click="search" size="mini" shape="circle" :custom-style="{backgroundColor:'#009458',color:'#FFFFFF'}">{{$t('homePage.device.query')}}</u-button>
|
||||
</view>
|
||||
<!-- <input type="text" :value="dec" :input-align="right" placeholder="请输入告警内容筛选"/> -->
|
||||
<!-- <view class="proper" v-if="show_" id="popup">
|
||||
|
||||
Reference in New Issue
Block a user