mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 13:15:24 +00:00
add warnings
This commit is contained in:
parent
1cd9165a61
commit
31f3b45665
@ -92,6 +92,7 @@ limitations under the License. -->
|
||||
v-model="dashboardStore.editMode"
|
||||
active-text="Edit"
|
||||
inactive-text="View"
|
||||
@change="changeMode"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@ -302,6 +303,14 @@ function changePods(pod: any) {
|
||||
}
|
||||
}
|
||||
|
||||
function changeMode() {
|
||||
if (dashboardStore.editMode) {
|
||||
ElMessage.warning("You enter edit mode");
|
||||
return;
|
||||
}
|
||||
ElMessage.warning("You enter view mode");
|
||||
}
|
||||
|
||||
function clickIcons(t: { id: string; content: string; name: string }) {
|
||||
if (
|
||||
dashboardStore.selectedGrid &&
|
||||
|
Loading…
Reference in New Issue
Block a user