源文件
This commit is contained in:
14
jeepay-ui-uapp-agent/hooks/loading.js
Normal file
14
jeepay-ui-uapp-agent/hooks/loading.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* loading 加载页
|
||||
*/
|
||||
import { ref } from 'vue'
|
||||
export let loadingStatus = ref(false)
|
||||
|
||||
export function showLoading() {
|
||||
loadingStatus.value = true
|
||||
|
||||
}
|
||||
export function hideLoading() {
|
||||
console.log('执行');
|
||||
loadingStatus.value = false
|
||||
}
|
||||
Reference in New Issue
Block a user