Commit f5e2f981 authored by liujiangnan's avatar liujiangnan

feat

parent ad5cf1dd
......@@ -11,14 +11,14 @@ const callServerMethod = (method, data) => {
});
}
window.courseware.getData = function (fun, key) {
$.getJSON('../play/defaultData_1.json', function(defaultData) {
console.log('加载默认数据:', defaultData);
fun(defaultData);
}).fail(function() {
console.error('默认数据加载失败!');
});
}
// window.courseware.getData = function (fun, key) {
// $.getJSON('../play/defaultData_1.json', function(defaultData) {
// console.log('加载默认数据:', defaultData);
// fun(defaultData);
// }).fail(function() {
// console.error('默认数据加载失败!');
// });
// }
new Vue({
......@@ -107,8 +107,8 @@ new Vue({
// 新增:上传类型
uploadType: 'pdf',
AI_SERVER_URL: 'http://localhost:1339',
// AI_SERVER_URL: 'https://stagingopensource.iteachabc.com',
// AI_SERVER_URL: 'http://localhost:1339',
AI_SERVER_URL: 'https://stagingopensource.iteachabc.com',
// AI 分析遮罩层相关
showAIAnalysis: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment