mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
去掉调试时的 console 语句
This commit is contained in:
@@ -330,9 +330,6 @@ export default {
|
||||
isCommandActivated: Boolean,
|
||||
cardStyle: Object,
|
||||
},
|
||||
mounted() {
|
||||
// console.log(this.commandInfo.features.code, this);
|
||||
},
|
||||
methods: {
|
||||
// 匹配类型太长的话截断
|
||||
getShortStrByByte(str) {
|
||||
|
@@ -380,7 +380,6 @@ export default {
|
||||
},
|
||||
// 正则不和规则自动加斜杠
|
||||
regexVerify() {
|
||||
console.log(1);
|
||||
if (
|
||||
this.cmdType.valueType === "regex" &&
|
||||
!/^\/.*?\/[igm]*$/.test(this.cmdMatch)
|
||||
|
@@ -76,7 +76,6 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
this.frameInit();
|
||||
console.log(this.runResult);
|
||||
},
|
||||
methods: {
|
||||
frameInit() {
|
||||
|
@@ -179,7 +179,7 @@ export default {
|
||||
)
|
||||
: 1;
|
||||
this.$root.utools.whole.fetchUserPayments().then((ret) => {
|
||||
console.log(ret);
|
||||
console.log("PayInfo:", ret);
|
||||
!ret.filter((x) => x.goods_id === this.goodsId).length ||
|
||||
(this.isPluginVIP = true);
|
||||
});
|
||||
|
@@ -151,7 +151,6 @@ const specialVars = {
|
||||
desc: "用户设置的变量",
|
||||
match: /{{usr:(.*?)}}/mg,
|
||||
repl: (text, userData) => {
|
||||
console.log(userData);
|
||||
let filterd = userData.filter(x => x.id === text.slice(6, -2))
|
||||
return filterd.length ? filterd[0].value : ''
|
||||
},
|
||||
@@ -159,4 +158,4 @@ const specialVars = {
|
||||
}
|
||||
}
|
||||
|
||||
export default specialVars
|
||||
export default specialVars
|
||||
|
@@ -150,7 +150,6 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
window.yuQueClient(`repos/${this.releaseRepo}/docs`).then((res) => {
|
||||
console.log(res.data);
|
||||
this.allCommands = res.data.data;
|
||||
this.matchedCommands = _.cloneDeep(this.allCommands);
|
||||
this.fetchCommandDetails(1);
|
||||
|
Reference in New Issue
Block a user