diff --git a/src/store/modules/profile.ts b/src/store/modules/profile.ts index 8bc1f1a7..1ab55266 100644 --- a/src/store/modules/profile.ts +++ b/src/store/modules/profile.ts @@ -166,11 +166,12 @@ export const traceStore = defineStore({ .params(params); if (res.data.errors) { - this.segmentSpans = []; + this.analyzeTrees = []; return res.data; } const { analyze, tip } = res.data.data; if (tip) { + this.analyzeTrees = []; return res.data; } diff --git a/src/views/dashboard/related/profile/components/NewTask.vue b/src/views/dashboard/related/profile/components/NewTask.vue index 112c107f..d03ebc89 100644 --- a/src/views/dashboard/related/profile/components/NewTask.vue +++ b/src/views/dashboard/related/profile/components/NewTask.vue @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. -->