This commit is contained in:
Qiuxia Fan 2022-04-24 15:24:17 +08:00
parent f349976c71
commit 94b0288078
3 changed files with 4 additions and 3 deletions

View File

@ -134,6 +134,7 @@ const msg = {
taskId: "Task ID",
triggerType: "Trigger Type",
targetType: "Target Type",
ebpfTip: "Don't have process could profiling",
processSelect: "Click to select processes",
hourTip: "Select Hour",
minuteTip: "Select Minute",

View File

@ -133,6 +133,7 @@ const msg = {
triggerType: "触发类型",
targetType: "目标类型",
processSelect: "点击选择进程",
ebpfTip: "没有进程可以分析",
hourTip: "选择小时",
minuteTip: "选择分钟",
secondTip: "选择秒数",

View File

@ -76,7 +76,7 @@ limitations under the License. -->
</el-button>
</div>
</div>
<div v-else>Don't have process could profiling</div>
<div v-else>{{ t("ebpfTip") }}</div>
</template>
<script lang="ts" setup>
import { ref } from "vue";
@ -115,8 +115,7 @@ async function createTask() {
ElMessage.warning("no labels");
return;
}
const date =
monitorTime.value === "0" ? appStore.durationRow.start : time.value;
const date = monitorTime.value === "0" ? new Date() : time.value;
const params = {
serviceId: selectorStore.currentService.id,
processLabels: labels.value,