Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 解决控制台报错问题 #7299

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

igophper
Copy link
Contributor

@igophper igophper commented Dec 9, 2024

image

容器->编排->编辑 控制台报错

Copy link

f2c-ci-robot bot commented Dec 9, 2024

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link

f2c-ci-robot bot commented Dec 9, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign zhengkunwang223 for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wanghe-fit2cloud
Copy link
Member

感谢支持。

@ssongliu
Copy link
Member

感谢支持,这里的写法确实有问题。

就功能上来说,这边只是一个提示的作用,并不会涉及到内容修改,可以在 codemirror 上面加上一个 :disabled="true"

<codemirror
    v-model="envFileContent"
    :autofocus="true"
    :indent-with-tab="true"
    :tabSize="4"
    :disabled="true" 
    :lineWrapping="true"
    :matchBrackets="true"
    theme="cobalt"
    :styleActiveLine="true"
    :extensions="extensions"
></codemirror>

@igophper igophper force-pushed the pr@dev@fix_constant_var_err branch from 522b710 to 7d79a39 Compare December 10, 2024 06:23
@igophper
Copy link
Contributor Author

感谢支持,这里的写法确实有问题。

就功能上来说,这边只是一个提示的作用,并不会涉及到内容修改,可以在 codemirror 上面加上一个 :disabled="true"

<codemirror
    v-model="envFileContent"
    :autofocus="true"
    :indent-with-tab="true"
    :tabSize="4"
    :disabled="true" 
    :lineWrapping="true"
    :matchBrackets="true"
    theme="cobalt"
    :styleActiveLine="true"
    :extensions="extensions"
></codemirror>

已修改

@ssongliu ssongliu merged commit b7702da into 1Panel-dev:dev Dec 10, 2024
1 of 4 checks passed
@igophper igophper deleted the pr@dev@fix_constant_var_err branch December 10, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants