This commit is contained in:
Fine 2022-08-22 10:24:55 +08:00
parent 3696027d26
commit 575ef3359a
5 changed files with 11 additions and 3 deletions

View File

@ -150,6 +150,7 @@ const msg = {
duplicateName: "Duplicate name",
enableAssociate: "Enable association",
text: "Text",
query: "Query",
seconds: "Seconds",
hourTip: "Select Hour",
minuteTip: "Select Minute",

View File

@ -150,6 +150,7 @@ const msg = {
nameTip:
"El nombre sólo admite chino e inglés, líneas horizontales y subrayado, y la longitud del nombre no excederá de 300 caracteres",
enableAssociate: "Activar asociación",
query: "Consulta",
seconds: "Segundos",
hourTip: "Seleccione Hora",
minuteTip: "Seleccione Minuto",

View File

@ -147,6 +147,7 @@ const msg = {
nameTip: "该名称仅支持中文和英文、横线和下划线, 并且限制长度为300个字符",
duplicateName: "重复的名称",
text: "文本",
query: "查询",
seconds: "秒",
hourTip: "选择小时",
minuteTip: "选择分钟",

View File

@ -39,9 +39,14 @@ limitations under the License. -->
</div>
</template>
<div ref="timeRange" class="time-ranges"></div>
<el-button class="query" size="small" type="primary" @click="updateTopology"
>query</el-button
<el-button
class="query"
size="small"
type="primary"
@click="updateTopology"
>
{{ t("query") }}
</el-button>
</el-popover>
</template>
<script lang="ts" setup>

View File

@ -179,7 +179,7 @@ function enableInterval() {
if (enableTasks.value) {
intervalFn.value = setInterval(() => {
fetchTasks();
}, 18000);
}, 180000);
return;
}
intervalFn.value && clearInterval(intervalFn.value);