mirror of
https://gitee.com/y_project/RuoYi-Vue.git
synced 2026-06-19 13:09:22 +08:00
优化代码
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* 判断value字符串是否为空
|
||||
* 判断value字符串是否为空
|
||||
* @param {string} value
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
@@ -11,7 +11,7 @@ export function isEmpty(value) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断url是否是http或https
|
||||
* 判断url是否是http或https
|
||||
* @param {string} url
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ export function isHttp(url) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断path是否为外链
|
||||
* 判断path是否为外链
|
||||
* @param {string} path
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user