Skip to content

Commit e9e09b7

Browse files
authored
fix(TaskEditModal.vue): 修复了技能组字符串偶尔为Proxy对象, 导致方法调用错误任务无法启动的问题 (#129)
1 parent 2b2f3d2 commit e9e09b7

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

public/assets/index.6384f5ff.css renamed to public/assets/index.5a82e49d.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/assets/index.237a5280.js renamed to public/assets/index.c779d109.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
1313
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
1414
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
15-
<script type="module" crossorigin src="./assets/index.237a5280.js"></script>
16-
<link rel="stylesheet" href="./assets/index.6384f5ff.css">
15+
<script type="module" crossorigin src="./assets/index.c779d109.js"></script>
16+
<link rel="stylesheet" href="./assets/index.5a82e49d.css">
1717
</head>
1818
<body>
1919
<div id="app"></div>

web/src/components/TaskEditModal.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,9 +787,9 @@ export default {
787787
var learn_skill_list = []
788788
for (let i = 0; i < this.skillPriorityNum; i++)
789789
{
790-
if((this.skillLearnPriorityList[i].skills)[0] != "")
790+
if(String(this.skillLearnPriorityList[i].skills) != "")
791791
{
792-
learn_skill_list.push((this.skillLearnPriorityList[i].skills)[0].split(",").map(item => item.trim()))
792+
learn_skill_list.push(String(this.skillLearnPriorityList[i].skills).split(",").map(item => item.trim()))
793793
}
794794
}
795795
console.log(learn_skill_list)

0 commit comments

Comments
 (0)