mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-19 14:33:33 -04:00
@@ -165,6 +165,12 @@ export function mockRequest() {
|
||||
data: [RequestData],
|
||||
};
|
||||
|
||||
const TaskState = {
|
||||
path: "[PC Preview] unknow path",
|
||||
responseCode: "[PC Preview] unknow responseCode",
|
||||
message: "[PC Preview] unknow message",
|
||||
};
|
||||
|
||||
const UploadTask = {
|
||||
on: function (...args) {
|
||||
console.warn("uploadTask.on interface mocked in the Previewer. How this interface works on the" +
|
||||
|
||||
Reference in New Issue
Block a user