From b8bfbbe71d18fbf074fd1d1b4d086aeb24b3458c Mon Sep 17 00:00:00 2001
From: alvis
Date: Tue, 19 Jan 2021 09:34:05 +0800
Subject: [PATCH] bug fix
---
source/vue/xzs-admin/package-lock.json | 176 +++++++++--------
source/vue/xzs-admin/package.json | 2 +-
.../exam/question/edit/single-choice.vue | 2 +
source/vue/xzs-student/package-lock.json | 184 +++++++++---------
.../admin/components/ueditor/ueditor.all.js | 2 +-
.../main/resources/static/admin/index.html | 2 +-
...{index.30c57bc1.css => index.9fb4bdeb.css} | 2 +-
...650d977d.js => chunk-0226adbc.b8682f4a.js} | 0
...ab6bbcb6.js => chunk-066bbd34.4400c0cc.js} | 0
...a8fd94fb.js => chunk-111f3671.88628bfa.js} | 0
...23f0368f.js => chunk-157f9069.33b86b3f.js} | 0
...b4649c8b.js => chunk-16f9edc1.4cedfc1e.js} | 0
...c9c27afb.js => chunk-2d0c138b.967adea3.js} | 0
...325767ed.js => chunk-2d221bd2.b9385197.js} | 0
...9f6423a4.js => chunk-2d2300ef.80cbd451.js} | 0
...61504963.js => chunk-2e16d177.880192ef.js} | 0
...85f94d47.js => chunk-360c43ba.2ce019fd.js} | 0
...6d9a6e4b.js => chunk-42236473.e5c6bd3e.js} | 0
...1757203d.js => chunk-5bc3d75d.68f30d76.js} | 0
...318ac36c.js => chunk-65f8ca6f.b16d038e.js} | 0
...3df6cc73.js => chunk-733c35b2.7ab43f31.js} | 0
...66a776e6.js => chunk-75f11c77.507e6efd.js} | 0
...db370688.js => chunk-78234ca2.47274ba2.js} | 0
...e5043747.js => chunk-793f0082.3433fa5b.js} | 0
...60ebb279.js => chunk-7c62808c.1e3ef7e1.js} | 0
...14b281c6.js => chunk-873a42e2.8491a484.js} | 0
...44ff44a0.js => chunk-a85d3c1e.c8163707.js} | 0
...4ebdae1b.js => chunk-a9d03770.69109239.js} | 0
...f78ac718.js => chunk-bab2e2c4.a5761842.js} | 0
...309ffe6a.js => chunk-d0753fda.84697323.js} | 2 +-
.../admin/static/js/chunk-vendors.7377a892.js | 46 +++++
.../admin/static/js/chunk-vendors.ee5935b7.js | 46 -----
.../{index.ecf07db3.js => index.aa32b969.js} | 2 +-
.../main/resources/static/student/index.html | 2 +-
...bd9a591.css => chunk-vendors.f445a17a.css} | 2 +-
...d200e20f.js => chunk-099b9c43.b13dc0c2.js} | 0
...888c98c2.js => chunk-122e80b5.a365cb0f.js} | 0
...0a1956d9.js => chunk-1b8c8b54.317be5b4.js} | 0
...714ab788.js => chunk-1d601c29.b13a93ca.js} | 0
...d9be44c8.js => chunk-26bf5f94.6a9920bf.js} | 0
...1f4b0cfe.js => chunk-2d20f362.90ca5038.js} | 0
...928b0ade.js => chunk-31aa2150.7bc78004.js} | 0
...1d76be21.js => chunk-604488bc.ed3c4fbc.js} | 0
...a9137992.js => chunk-66bf5956.990bf242.js} | 0
...7750fca2.js => chunk-69a4052e.2dc33676.js} | 0
...59c7a7b0.js => chunk-7e275898.79c37bbf.js} | 0
...875b1405.js => chunk-912d804c.cdac4e03.js} | 0
.../static/js/chunk-vendors.dc5d7910.js | 46 -----
.../static/js/chunk-vendors.de563fc5.js | 46 +++++
.../{index.61056e9f.js => index.e4c2913b.js} | 2 +-
50 files changed, 281 insertions(+), 283 deletions(-)
rename source/xzs/src/main/resources/static/admin/static/css/{index.30c57bc1.css => index.9fb4bdeb.css} (82%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-0226adbc.650d977d.js => chunk-0226adbc.b8682f4a.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-066bbd34.ab6bbcb6.js => chunk-066bbd34.4400c0cc.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-111f3671.a8fd94fb.js => chunk-111f3671.88628bfa.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-157f9069.23f0368f.js => chunk-157f9069.33b86b3f.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-16f9edc1.b4649c8b.js => chunk-16f9edc1.4cedfc1e.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-2d0c138b.c9c27afb.js => chunk-2d0c138b.967adea3.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-2d221bd2.325767ed.js => chunk-2d221bd2.b9385197.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-2d2300ef.9f6423a4.js => chunk-2d2300ef.80cbd451.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-2e16d177.61504963.js => chunk-2e16d177.880192ef.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-360c43ba.85f94d47.js => chunk-360c43ba.2ce019fd.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-42236473.6d9a6e4b.js => chunk-42236473.e5c6bd3e.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-5bc3d75d.1757203d.js => chunk-5bc3d75d.68f30d76.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-65f8ca6f.318ac36c.js => chunk-65f8ca6f.b16d038e.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-733c35b2.3df6cc73.js => chunk-733c35b2.7ab43f31.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-75f11c77.66a776e6.js => chunk-75f11c77.507e6efd.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-78234ca2.db370688.js => chunk-78234ca2.47274ba2.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-793f0082.e5043747.js => chunk-793f0082.3433fa5b.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-7c62808c.60ebb279.js => chunk-7c62808c.1e3ef7e1.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-873a42e2.14b281c6.js => chunk-873a42e2.8491a484.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-a85d3c1e.44ff44a0.js => chunk-a85d3c1e.c8163707.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-a9d03770.4ebdae1b.js => chunk-a9d03770.69109239.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-bab2e2c4.f78ac718.js => chunk-bab2e2c4.a5761842.js} (100%)
rename source/xzs/src/main/resources/static/admin/static/js/{chunk-d0753fda.309ffe6a.js => chunk-d0753fda.84697323.js} (61%)
create mode 100644 source/xzs/src/main/resources/static/admin/static/js/chunk-vendors.7377a892.js
delete mode 100644 source/xzs/src/main/resources/static/admin/static/js/chunk-vendors.ee5935b7.js
rename source/xzs/src/main/resources/static/admin/static/js/{index.ecf07db3.js => index.aa32b969.js} (97%)
rename source/xzs/src/main/resources/static/student/static/css/{chunk-vendors.4bd9a591.css => chunk-vendors.f445a17a.css} (85%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-099b9c43.d200e20f.js => chunk-099b9c43.b13dc0c2.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-122e80b5.888c98c2.js => chunk-122e80b5.a365cb0f.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-1b8c8b54.0a1956d9.js => chunk-1b8c8b54.317be5b4.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-1d601c29.714ab788.js => chunk-1d601c29.b13a93ca.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-26bf5f94.d9be44c8.js => chunk-26bf5f94.6a9920bf.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-2d20f362.1f4b0cfe.js => chunk-2d20f362.90ca5038.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-31aa2150.928b0ade.js => chunk-31aa2150.7bc78004.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-604488bc.1d76be21.js => chunk-604488bc.ed3c4fbc.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-66bf5956.a9137992.js => chunk-66bf5956.990bf242.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-69a4052e.7750fca2.js => chunk-69a4052e.2dc33676.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-7e275898.59c7a7b0.js => chunk-7e275898.79c37bbf.js} (100%)
rename source/xzs/src/main/resources/static/student/static/js/{chunk-912d804c.875b1405.js => chunk-912d804c.cdac4e03.js} (100%)
delete mode 100644 source/xzs/src/main/resources/static/student/static/js/chunk-vendors.dc5d7910.js
create mode 100644 source/xzs/src/main/resources/static/student/static/js/chunk-vendors.de563fc5.js
rename source/xzs/src/main/resources/static/student/static/js/{index.61056e9f.js => index.e4c2913b.js} (99%)
diff --git a/source/vue/xzs-admin/package-lock.json b/source/vue/xzs-admin/package-lock.json
index 97f35fa..6dd4c7e 100644
--- a/source/vue/xzs-admin/package-lock.json
+++ b/source/vue/xzs-admin/package-lock.json
@@ -2382,6 +2382,16 @@
"integrity": "sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo=",
"dev": true
},
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1606792266928&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz",
+ "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "color-convert": "^2.0.1"
+ }
+ },
"cacache": {
"version": "13.0.1",
"resolved": "https://registry.npm.taobao.org/cacache/download/cacache-13.0.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcacache%2Fdownload%2Fcacache-13.0.1.tgz",
@@ -2408,6 +2418,34 @@
"unique-filename": "^1.1.1"
}
},
+ "chalk": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-4.1.0.tgz",
+ "integrity": "sha1-ThSHCmGNni7dl92DRf2dncMVZGo=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz",
+ "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz",
+ "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=",
+ "dev": true,
+ "optional": true
+ },
"debug": {
"version": "4.3.1",
"resolved": "https://registry.npm.taobao.org/debug/download/debug-4.3.1.tgz?cache=0&sync_timestamp=1607566571506&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-4.3.1.tgz",
@@ -2417,6 +2455,25 @@
"ms": "2.1.2"
}
},
+ "has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-4.0.0.tgz",
+ "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=",
+ "dev": true,
+ "optional": true
+ },
+ "loader-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz",
+ "integrity": "sha1-5MrOW4FtQloWa18JfhDNErNgZLA=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^3.0.0",
+ "json5": "^2.1.2"
+ }
+ },
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz?cache=0&sync_timestamp=1607433926553&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.2.tgz",
@@ -2439,6 +2496,16 @@
"minipass": "^3.1.1"
}
},
+ "supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1608035266405&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz",
+ "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "has-flag": "^4.0.0"
+ }
+ },
"terser-webpack-plugin": {
"version": "2.3.8",
"resolved": "https://registry.npm.taobao.org/terser-webpack-plugin/download/terser-webpack-plugin-2.3.8.tgz?cache=0&sync_timestamp=1603881694762&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fterser-webpack-plugin%2Fdownload%2Fterser-webpack-plugin-2.3.8.tgz",
@@ -2455,6 +2522,18 @@
"terser": "^4.6.12",
"webpack-sources": "^1.4.3"
}
+ },
+ "vue-loader-v16": {
+ "version": "npm:vue-loader@16.1.2",
+ "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-16.1.2.tgz?cache=0&sync_timestamp=1608187947155&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-16.1.2.tgz",
+ "integrity": "sha1-XAO2xQ0qX5g8fOuhXFDXjKKymPQ=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "chalk": "^4.1.0",
+ "hash-sum": "^2.0.0",
+ "loader-utils": "^2.0.0"
+ }
}
}
},
@@ -3098,7 +3177,7 @@
},
"async-validator": {
"version": "1.8.5",
- "resolved": "https://registry.npm.taobao.org/async-validator/download/async-validator-1.8.5.tgz?cache=0&sync_timestamp=1596625537173&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-validator%2Fdownload%2Fasync-validator-1.8.5.tgz",
+ "resolved": "https://registry.npm.taobao.org/async-validator/download/async-validator-1.8.5.tgz?cache=0&sync_timestamp=1605749896979&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-validator%2Fdownload%2Fasync-validator-1.8.5.tgz",
"integrity": "sha1-3D4I7B/Q3dtn5ghC8CwM0c7G1/A=",
"requires": {
"babel-runtime": "6.x"
@@ -3193,7 +3272,7 @@
},
"babel-runtime": {
"version": "6.26.0",
- "resolved": "https://registry.npm.taobao.org/babel-runtime/download/babel-runtime-6.26.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-runtime%2Fdownload%2Fbabel-runtime-6.26.0.tgz",
+ "resolved": "https://registry.npm.taobao.org/babel-runtime/download/babel-runtime-6.26.0.tgz",
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
"requires": {
"core-js": "^2.4.0",
@@ -3201,9 +3280,9 @@
},
"dependencies": {
"core-js": {
- "version": "2.6.11",
- "resolved": "https://registry.npm.taobao.org/core-js/download/core-js-2.6.11.tgz?cache=0&sync_timestamp=1604675690423&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js%2Fdownload%2Fcore-js-2.6.11.tgz",
- "integrity": "sha1-OIMUafmSK97Y7iHJ3EaYXgOZMIw="
+ "version": "2.6.12",
+ "resolved": "https://registry.npm.taobao.org/core-js/download/core-js-2.6.12.tgz?cache=0&sync_timestamp=1609681982790&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js%2Fdownload%2Fcore-js-2.6.12.tgz",
+ "integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw="
},
"regenerator-runtime": {
"version": "0.11.1",
@@ -5300,9 +5379,9 @@
"dev": true
},
"element-ui": {
- "version": "2.14.1",
- "resolved": "https://registry.npm.taobao.org/element-ui/download/element-ui-2.14.1.tgz?cache=0&sync_timestamp=1605089928506&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felement-ui%2Fdownload%2Felement-ui-2.14.1.tgz",
- "integrity": "sha1-i1dFxzZsHBpgO7bAIShupxh+KqI=",
+ "version": "2.15.0",
+ "resolved": "https://registry.npm.taobao.org/element-ui/download/element-ui-2.15.0.tgz?cache=0&sync_timestamp=1610711151767&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felement-ui%2Fdownload%2Felement-ui-2.15.0.tgz",
+ "integrity": "sha1-3ptzqNHj47UOgrkjpfqVKVI5vUE=",
"requires": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
@@ -13127,87 +13206,6 @@
}
}
},
- "vue-loader-v16": {
- "version": "npm:vue-loader@16.1.2",
- "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-16.1.2.tgz?cache=0&sync_timestamp=1608187947155&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-16.1.2.tgz",
- "integrity": "sha1-XAO2xQ0qX5g8fOuhXFDXjKKymPQ=",
- "dev": true,
- "optional": true,
- "requires": {
- "chalk": "^4.1.0",
- "hash-sum": "^2.0.0",
- "loader-utils": "^2.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1606792266928&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz",
- "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=",
- "dev": true,
- "optional": true,
- "requires": {
- "color-convert": "^2.0.1"
- }
- },
- "chalk": {
- "version": "4.1.0",
- "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-4.1.0.tgz",
- "integrity": "sha1-ThSHCmGNni7dl92DRf2dncMVZGo=",
- "dev": true,
- "optional": true,
- "requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz",
- "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=",
- "dev": true,
- "optional": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz",
- "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=",
- "dev": true,
- "optional": true
- },
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-4.0.0.tgz",
- "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=",
- "dev": true,
- "optional": true
- },
- "loader-utils": {
- "version": "2.0.0",
- "resolved": "https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz",
- "integrity": "sha1-5MrOW4FtQloWa18JfhDNErNgZLA=",
- "dev": true,
- "optional": true,
- "requires": {
- "big.js": "^5.2.2",
- "emojis-list": "^3.0.0",
- "json5": "^2.1.2"
- }
- },
- "supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1608035266405&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz",
- "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=",
- "dev": true,
- "optional": true,
- "requires": {
- "has-flag": "^4.0.0"
- }
- }
- }
- },
"vue-router": {
"version": "3.4.9",
"resolved": "https://registry.npm.taobao.org/vue-router/download/vue-router-3.4.9.tgz?cache=0&sync_timestamp=1604612037000&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.4.9.tgz",
diff --git a/source/vue/xzs-admin/package.json b/source/vue/xzs-admin/package.json
index 5b5cd36..93d33cd 100644
--- a/source/vue/xzs-admin/package.json
+++ b/source/vue/xzs-admin/package.json
@@ -17,7 +17,7 @@
"dependencies": {
"axios": "^0.19.0",
"core-js": "^3.8.2",
- "element-ui": "^2.14.1",
+ "element-ui": "^2.15.0",
"js-cookie": "2.2.0",
"normalize.css": "8.0.1",
"nprogress": "0.2.0",
diff --git a/source/vue/xzs-admin/src/views/exam/question/edit/single-choice.vue b/source/vue/xzs-admin/src/views/exam/question/edit/single-choice.vue
index 6664fd3..d1e0540 100644
--- a/source/vue/xzs-admin/src/views/exam/question/edit/single-choice.vue
+++ b/source/vue/xzs-admin/src/views/exam/question/edit/single-choice.vue
@@ -185,6 +185,7 @@ export default {
})
},
resetForm () {
+ let lastId = this.form.id
this.$refs['form'].resetFields()
this.form = {
id: null,
@@ -203,6 +204,7 @@ export default {
score: '',
difficult: 0
}
+ this.form.id = lastId
},
levelChange () {
this.form.subjectId = null
diff --git a/source/vue/xzs-student/package-lock.json b/source/vue/xzs-student/package-lock.json
index 5b730e1..45c978a 100644
--- a/source/vue/xzs-student/package-lock.json
+++ b/source/vue/xzs-student/package-lock.json
@@ -2382,6 +2382,16 @@
"integrity": "sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo=",
"dev": true
},
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1606792266928&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz",
+ "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "color-convert": "^2.0.1"
+ }
+ },
"cacache": {
"version": "13.0.1",
"resolved": "https://registry.npm.taobao.org/cacache/download/cacache-13.0.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcacache%2Fdownload%2Fcacache-13.0.1.tgz",
@@ -2408,6 +2418,34 @@
"unique-filename": "^1.1.1"
}
},
+ "chalk": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-4.1.0.tgz",
+ "integrity": "sha1-ThSHCmGNni7dl92DRf2dncMVZGo=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz",
+ "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz",
+ "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=",
+ "dev": true,
+ "optional": true
+ },
"debug": {
"version": "4.3.1",
"resolved": "https://registry.npm.taobao.org/debug/download/debug-4.3.1.tgz?cache=0&sync_timestamp=1607566571506&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-4.3.1.tgz",
@@ -2417,6 +2455,25 @@
"ms": "2.1.2"
}
},
+ "has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-4.0.0.tgz",
+ "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=",
+ "dev": true,
+ "optional": true
+ },
+ "loader-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz",
+ "integrity": "sha1-5MrOW4FtQloWa18JfhDNErNgZLA=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^3.0.0",
+ "json5": "^2.1.2"
+ }
+ },
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz?cache=0&sync_timestamp=1607433926553&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.2.tgz",
@@ -2439,6 +2496,16 @@
"minipass": "^3.1.1"
}
},
+ "supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1608035266405&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz",
+ "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "has-flag": "^4.0.0"
+ }
+ },
"terser-webpack-plugin": {
"version": "2.3.8",
"resolved": "https://registry.npm.taobao.org/terser-webpack-plugin/download/terser-webpack-plugin-2.3.8.tgz?cache=0&sync_timestamp=1603881694762&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fterser-webpack-plugin%2Fdownload%2Fterser-webpack-plugin-2.3.8.tgz",
@@ -2455,6 +2522,18 @@
"terser": "^4.6.12",
"webpack-sources": "^1.4.3"
}
+ },
+ "vue-loader-v16": {
+ "version": "npm:vue-loader@16.1.2",
+ "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-16.1.2.tgz?cache=0&sync_timestamp=1608187947155&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-16.1.2.tgz",
+ "integrity": "sha1-XAO2xQ0qX5g8fOuhXFDXjKKymPQ=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "chalk": "^4.1.0",
+ "hash-sum": "^2.0.0",
+ "loader-utils": "^2.0.0"
+ }
}
}
},
@@ -3098,7 +3177,7 @@
},
"async-validator": {
"version": "1.8.5",
- "resolved": "https://registry.npm.taobao.org/async-validator/download/async-validator-1.8.5.tgz?cache=0&sync_timestamp=1596625537173&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-validator%2Fdownload%2Fasync-validator-1.8.5.tgz",
+ "resolved": "https://registry.npm.taobao.org/async-validator/download/async-validator-1.8.5.tgz?cache=0&sync_timestamp=1605749896979&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-validator%2Fdownload%2Fasync-validator-1.8.5.tgz",
"integrity": "sha1-3D4I7B/Q3dtn5ghC8CwM0c7G1/A=",
"requires": {
"babel-runtime": "6.x"
@@ -3145,7 +3224,7 @@
},
"axios": {
"version": "0.19.2",
- "resolved": "https://registry.npm.taobao.org/axios/download/axios-0.19.2.tgz",
+ "resolved": "https://registry.npm.taobao.org/axios/download/axios-0.19.2.tgz?cache=0&sync_timestamp=1608609188013&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faxios%2Fdownload%2Faxios-0.19.2.tgz",
"integrity": "sha1-PqNsXYgY0NX4qKl6bTa4bNwAyyc=",
"requires": {
"follow-redirects": "1.5.10"
@@ -3193,7 +3272,7 @@
},
"babel-runtime": {
"version": "6.26.0",
- "resolved": "https://registry.npm.taobao.org/babel-runtime/download/babel-runtime-6.26.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-runtime%2Fdownload%2Fbabel-runtime-6.26.0.tgz",
+ "resolved": "https://registry.npm.taobao.org/babel-runtime/download/babel-runtime-6.26.0.tgz",
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
"requires": {
"core-js": "^2.4.0",
@@ -3201,9 +3280,9 @@
},
"dependencies": {
"core-js": {
- "version": "2.6.11",
- "resolved": "https://registry.npm.taobao.org/core-js/download/core-js-2.6.11.tgz?cache=0&sync_timestamp=1604675690423&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js%2Fdownload%2Fcore-js-2.6.11.tgz",
- "integrity": "sha1-OIMUafmSK97Y7iHJ3EaYXgOZMIw="
+ "version": "2.6.12",
+ "resolved": "https://registry.npm.taobao.org/core-js/download/core-js-2.6.12.tgz?cache=0&sync_timestamp=1609681982790&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js%2Fdownload%2Fcore-js-2.6.12.tgz",
+ "integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw="
},
"regenerator-runtime": {
"version": "0.11.1",
@@ -5300,9 +5379,9 @@
"dev": true
},
"element-ui": {
- "version": "2.14.1",
- "resolved": "https://registry.npm.taobao.org/element-ui/download/element-ui-2.14.1.tgz?cache=0&sync_timestamp=1605089928506&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felement-ui%2Fdownload%2Felement-ui-2.14.1.tgz",
- "integrity": "sha1-i1dFxzZsHBpgO7bAIShupxh+KqI=",
+ "version": "2.15.0",
+ "resolved": "https://registry.npm.taobao.org/element-ui/download/element-ui-2.15.0.tgz?cache=0&sync_timestamp=1610711151767&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felement-ui%2Fdownload%2Felement-ui-2.15.0.tgz",
+ "integrity": "sha1-3ptzqNHj47UOgrkjpfqVKVI5vUE=",
"requires": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
@@ -7812,7 +7891,7 @@
},
"js-cookie": {
"version": "2.2.0",
- "resolved": "https://registry.npm.taobao.org/js-cookie/download/js-cookie-2.2.0.tgz?cache=0&sync_timestamp=1583962513627&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjs-cookie%2Fdownload%2Fjs-cookie-2.2.0.tgz",
+ "resolved": "https://registry.npm.taobao.org/js-cookie/download/js-cookie-2.2.0.tgz?cache=0&sync_timestamp=1599571425022&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjs-cookie%2Fdownload%2Fjs-cookie-2.2.0.tgz",
"integrity": "sha1-Gywnmm7s44ChIWi5JIUmWzWx7/s="
},
"js-message": {
@@ -13050,7 +13129,7 @@
},
"vue": {
"version": "2.6.12",
- "resolved": "https://registry.npm.taobao.org/vue/download/vue-2.6.12.tgz?cache=0&sync_timestamp=1598033671577&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue%2Fdownload%2Fvue-2.6.12.tgz",
+ "resolved": "https://registry.npm.taobao.org/vue/download/vue-2.6.12.tgz?cache=0&sync_timestamp=1609360160361&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue%2Fdownload%2Fvue-2.6.12.tgz",
"integrity": "sha1-9evU+mvShpQD4pqJau1JBEVskSM="
},
"vue-eslint-parser": {
@@ -13122,90 +13201,9 @@
}
}
},
- "vue-loader-v16": {
- "version": "npm:vue-loader@16.1.2",
- "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-16.1.2.tgz?cache=0&sync_timestamp=1608187947155&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-16.1.2.tgz",
- "integrity": "sha1-XAO2xQ0qX5g8fOuhXFDXjKKymPQ=",
- "dev": true,
- "optional": true,
- "requires": {
- "chalk": "^4.1.0",
- "hash-sum": "^2.0.0",
- "loader-utils": "^2.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1606792266928&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz",
- "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=",
- "dev": true,
- "optional": true,
- "requires": {
- "color-convert": "^2.0.1"
- }
- },
- "chalk": {
- "version": "4.1.0",
- "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-4.1.0.tgz",
- "integrity": "sha1-ThSHCmGNni7dl92DRf2dncMVZGo=",
- "dev": true,
- "optional": true,
- "requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz",
- "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=",
- "dev": true,
- "optional": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz",
- "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=",
- "dev": true,
- "optional": true
- },
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-4.0.0.tgz",
- "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=",
- "dev": true,
- "optional": true
- },
- "loader-utils": {
- "version": "2.0.0",
- "resolved": "https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz",
- "integrity": "sha1-5MrOW4FtQloWa18JfhDNErNgZLA=",
- "dev": true,
- "optional": true,
- "requires": {
- "big.js": "^5.2.2",
- "emojis-list": "^3.0.0",
- "json5": "^2.1.2"
- }
- },
- "supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1608035266405&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz",
- "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=",
- "dev": true,
- "optional": true,
- "requires": {
- "has-flag": "^4.0.0"
- }
- }
- }
- },
"vue-router": {
"version": "3.4.9",
- "resolved": "https://registry.npm.taobao.org/vue-router/download/vue-router-3.4.9.tgz?cache=0&sync_timestamp=1604612037000&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.4.9.tgz",
+ "resolved": "https://registry.npm.taobao.org/vue-router/download/vue-router-3.4.9.tgz?cache=0&sync_timestamp=1610356148012&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.4.9.tgz",
"integrity": "sha1-wBb0IDCuKTLxTkdIs5odmg4lDmY="
},
"vue-style-loader": {
diff --git a/source/xzs/src/main/resources/static/admin/admin/components/ueditor/ueditor.all.js b/source/xzs/src/main/resources/static/admin/admin/components/ueditor/ueditor.all.js
index 363961d..58f88ca 100644
--- a/source/xzs/src/main/resources/static/admin/admin/components/ueditor/ueditor.all.js
+++ b/source/xzs/src/main/resources/static/admin/admin/components/ueditor/ueditor.all.js
@@ -1 +1 @@
-!function(){UEDITOR_CONFIG=window.UEDITOR_CONFIG||{};var baidu=window.baidu||{};window.baidu=baidu,window.UE=baidu.editor=window.UE||{},UE.plugins={},UE.commands={},UE.instants={},UE.I18N={},UE._customizeUI={},UE.version="1.4.3",UE.promptAlert=function(){},UE.showFormulaDialogue=function(){};var dom=UE.dom={},dom_key="Q29weXJpZ2h0IOatpuaxieaAnee7tOi3s+i3g+enkeaKgOaciemZkOWFrOWPuCDniYjmnYPmiYDmnIk=",browser=UE.browser=function(){var e=navigator.userAgent.toLowerCase(),t=window.opera,i={ie:/(msie\s|trident.*rv:)([\w.]+)/.test(e),opera:!!t&&t.version,webkit:-1'](?:(amp|lt|quot|gt|#39|nbsp|#\d+);)?/g,function(e,t){return t?e:{"<":"<","&":"&",'"':""",">":">","'":"'"}[e]}):""},unhtmlForUrl:function(e,t){return e?e.replace(t||/[<">']/g,function(e){return{"<":"<","&":"&",'"':""",">":">","'":"'"}[e]}):""},html:function(e){return e?e.replace(/&((g|l|quo)t|amp|#39|nbsp);/g,function(e){return{"<":"<","&":"&",""":'"',">":">","'":"'"," ":" "}[e]}):""},cssStyleToDomStyle:(ia=document.createElement("div").style,ja={float:null!=ia.cssFloat?"cssFloat":null!=ia.styleFloat?"styleFloat":"float"},function(e){return ja[e]||(ja[e]=e.toLowerCase().replace(/-./g,function(e){return e.charAt(1).toUpperCase()}))}),loadFile:(ma=[],function(t,i,e){var n=na(t,i);if(n)n.ready?e&&e():n.funs.push(e);else if(ma.push({doc:t,url:i.src||i.href,funs:[e]}),t.body){if(!i.id||!t.getElementById(i.id)){var o=t.createElement(i.tag);for(var r in delete i.tag,i)o.setAttribute(r,i[r]);o.onload=o.onreadystatechange=function(){if(!this.readyState||/loaded|complete/.test(this.readyState)){if(0<(n=na(t,i)).funs.length){n.ready=1;for(var e;e=n.funs.pop();)e()}o.onload=o.onreadystatechange=null}},o.onerror=function(){throw Error("The load "+(i.href||i.src)+" fails,check the url settings of file ueditor.config.js ")},t.getElementsByTagName("head")[0].appendChild(o)}}else{var a=[];for(var r in i)"tag"!=r&&a.push(r+'="'+i[r]+'"');t.write("<"+i.tag+" "+a.join(" ")+" >"+i.tag+">")}}),isEmptyObject:function(e){if(null==e)return!0;if(this.isArray(e)||this.isString(e))return 0===e.length;for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},fixColor:function(e,t){if(/color/i.test(e)&&/rgba?/.test(t)){var i=t.split(",");if(3/.test(e.outerHTML):0==e.attributes.length},isCustomeNode:function(e){return 1==e.nodeType&&e.getAttribute("_ue_custom_node_")},isTagNode:function(e,t){return 1==e.nodeType&&new RegExp("\\b"+e.tagName+"\\b","i").test(t)},filterNodeList:function(e,t,i){var n=[];if(!utils.isFunction(t)){var o=t;t=function(e){return-1!=utils.indexOf(utils.isArray(o)?o:o.split(" "),e.tagName.toLowerCase())}}return utils.each(e,function(e){t(e)&&n.push(e)}),0==n.length?null:1!=n.length&&i?n:n[0]},isInNodeEndBoundary:function(e,t){var i=e.startContainer;if(3==i.nodeType&&e.startOffset!=i.nodeValue.length)return 0;if(1==i.nodeType&&e.startOffset!=i.childNodes.length)return 0;for(;i!==t;){if(i.nextSibling)return 0;i=i.parentNode}return 1},isBoundaryNode:function(e,t){for(;!domUtils.isBody(e);)if(e!==(e=e.parentNode)[t])return!1;return!0},fillHtml:browser.ie11below?" ":"
"},fillCharReg=new RegExp(domUtils.fillChar,"g"),si,qi,ri,xi;function ui(e){return!e.collapsed&&1==e.startContainer.nodeType&&e.startContainer===e.endContainer&&e.endOffset-e.startOffset==1}function vi(e,t,i,n){var o;return 1==t.nodeType&&(dtd.$empty[t.tagName]||dtd.$nonChild[t.tagName])&&(i=domUtils.getNodeIndex(t)+(e?0:1),t=t.parentNode),e?(n.startContainer=t,n.startOffset=i,n.endContainer||n.collapse(!0)):(n.endContainer=t,n.endOffset=i,n.startContainer||n.collapse(!1)),(o=n).collapsed=o.startContainer&&o.endContainer&&o.startContainer===o.endContainer&&o.startOffset==o.endOffset,n}function wi(e,t){var i,n,o=e.startContainer,r=e.endContainer,a=e.startOffset,s=e.endOffset,l=e.document,d=l.createDocumentFragment();if(1==o.nodeType&&(o=o.childNodes[a]||(i=o.appendChild(l.createTextNode("")))),1==r.nodeType&&(r=r.childNodes[s]||(n=r.appendChild(l.createTextNode("")))),o===r&&3==o.nodeType)return d.appendChild(l.createTextNode(o.substringData(a,s-a))),t&&(o.deleteData(a,s-a),e.collapse(!0)),d;for(var c,u,m=d,f=domUtils.findParents(o,!0),h=domUtils.findParents(r,!0),p=0;f[p]==h[p];)p++;for(var g,b=p;g=f[b];b++){for(c=g.nextSibling,g==o?i||(3==e.startContainer.nodeType?(m.appendChild(l.createTextNode(o.nodeValue.slice(a))),t&&o.deleteData(a,o.nodeValue.length-a)):m.appendChild(t?o:o.cloneNode(!0))):(u=g.cloneNode(!1),m.appendChild(u));c&&c!==r&&c!==h[b];)g=c.nextSibling,m.appendChild(t?c:c.cloneNode(!0)),c=g;m=u}m=d,f[p]||(m.appendChild(f[p-1].cloneNode(!1)),m=m.firstChild);var v;for(b=p;v=h[b];b++){if(c=v.previousSibling,v==r?n||3!=e.endContainer.nodeType||(m.appendChild(l.createTextNode(r.substringData(0,s))),t&&r.deleteData(0,s)):(u=v.cloneNode(!1),m.appendChild(u)),b!=p||!f[p])for(;c&&c!==o;)v=c.previousSibling,m.insertBefore(t?c:c.cloneNode(!0),m.firstChild),c=v;m=u}return t&&e.setStartBefore(h[p]?f[p]?h[p]:f[p-1]:h[p-1]).collapse(!0),i&&domUtils.remove(i),n&&domUtils.remove(n),d}function yi(e,t){try{if(si&&domUtils.inDoc(si,e))if(si.nodeValue.replace(fillCharReg,"").length)si.nodeValue=si.nodeValue.replace(fillCharReg,"");else{var i=si.parentNode;for(domUtils.remove(si);i&&domUtils.isEmptyInlineElement(i)&&(browser.safari?!(domUtils.getPosition(i,t)&domUtils.POSITION_CONTAINS):!i.contains(t));)si=i.parentNode,domUtils.remove(i),i=si}}catch(e){}}function zi(e,t){var i;for(e=e[t];e&&domUtils.isFillChar(e);)i=e[t],domUtils.remove(e),e=i}function im(e,t){var i=domUtils.getNodeIndex;(e=e.duplicate()).collapse(t);var n=e.parentElement();if(!n.hasChildNodes())return{container:n,offset:0};for(var o,r,a=n.children,s=e.duplicate(),l=0,d=a.length-1,c=-1;l<=d;){o=a[c=Math.floor((l+d)/2)],s.moveToElementText(o);var u=s.compareEndPoints("StartToStart",e);if(0=t.nodeValue.length)this.setStartAfter(t);else{var r=domUtils.split(t,i);t===o?this.setEnd(r,this.endOffset-i):t.parentNode===o&&(this.endOffset+=1),this.setStartBefore(r)}if(n)return this.collapse(!0)}return e||(i=this.endOffset,3==(o=this.endContainer).nodeType&&(0==i?this.setEndBefore(o):(i=i.nodeValue.length&&e["set"+t.replace(/(\w)/,function(e){return e.toUpperCase()})+"After"](i):e["set"+t.replace(/(\w)/,function(e){return e.toUpperCase()})+"Before"](i))}return!e&&this.collapsed||(t(this,"start"),t(this,"end")),this},insertNode:function(e){var t=e,i=1;11==e.nodeType&&(t=e.firstChild,i=e.childNodes.length),this.trimBoundary(!0);var n=this.startContainer,o=this.startOffset,r=n.childNodes[o];return r?n.insertBefore(e,r):n.appendChild(e),t.parentNode===this.endContainer&&(this.endOffset=this.endOffset+i),this.setStartBefore(t)},setCursor:function(e,t){return this.collapse(!e).select(t)},createBookmark:function(e,t){var i,n=this.document.createElement("span");return n.style.cssText="display:none;line-height:0px;",n.appendChild(this.document.createTextNode("")),n.id="_baidu_bookmark_start_"+(t?"":qi++),this.collapsed||((i=n.cloneNode(!0)).id="_baidu_bookmark_end_"+(t?"":qi++)),this.insertNode(n),i&&this.collapse().insertNode(i).setEndBefore(i),this.setStartAfter(n),{start:e?n.id:n,end:i?e?i.id:i:null,id:e}},moveToBookmark:function(e){var t=e.id?this.document.getElementById(e.start):e.start,i=e.end&&e.id?this.document.getElementById(e.end):e.end;return this.setStartBefore(t),domUtils.remove(t),i?(this.setEndBefore(i),domUtils.remove(i)):this.collapse(!0),this},enlarge:function(e,t){var i,n,o=domUtils.isBody,r=this.document.createTextNode("");if(e){for(i=1==(n=this.startContainer).nodeType?n=n.childNodes[this.startOffset]?n.childNodes[this.startOffset]:(n.appendChild(r),r):n;;){if(domUtils.isBlockElm(n)){for(n=i;(i=n.previousSibling)&&!domUtils.isBlockElm(i);)n=i;this.setStartBefore(n);break}n=(i=n).parentNode}for(i=1==(n=this.endContainer).nodeType?((i=n.childNodes[this.endOffset])?n.insertBefore(r,i):n.appendChild(r),n=r):n;;){if(domUtils.isBlockElm(n)){for(n=i;(i=n.nextSibling)&&!domUtils.isBlockElm(i);)n=i;this.setEndAfter(n);break}n=(i=n).parentNode}r.parentNode===this.endContainer&&this.endOffset--,domUtils.remove(r)}if(!this.collapsed){for(;!(0!=this.startOffset||t&&t(this.startContainer)||o(this.startContainer));)this.setStartBefore(this.startContainer);for(;!(this.endOffset!=(1==this.endContainer.nodeType?this.endContainer.childNodes.length:this.endContainer.nodeValue.length)||t&&t(this.endContainer)||o(this.endContainer));)this.setEndAfter(this.endContainer)}return this},enlargeToBlockElm:function(e){for(;!domUtils.isBlockElm(this.startContainer);)this.setStartBefore(this.startContainer);if(!e)for(;!domUtils.isBlockElm(this.endContainer);)this.setEndAfter(this.endContainer);return this},adjustmentBoundary:function(){if(!this.collapsed){for(;!domUtils.isBody(this.startContainer)&&this.startOffset==this.startContainer[3==this.startContainer.nodeType?"nodeValue":"childNodes"].length&&this.startContainer[3==this.startContainer.nodeType?"nodeValue":"childNodes"].length;)this.setStartAfter(this.startContainer);for(;!domUtils.isBody(this.endContainer)&&!this.endOffset&&this.endContainer[3==this.endContainer.nodeType?"nodeValue":"childNodes"].length;)this.setEndBefore(this.endContainer)}return this},applyInlineStyle:function(t,e,i){if(this.collapsed)return this;this.trimBoundary().enlarge(!1,function(e){return 1==e.nodeType&&domUtils.isBlockElm(e)}).adjustmentBoundary();function n(e){return 1==e.nodeType?"br"!=e.tagName.toLowerCase():!domUtils.isWhitespace(e)}for(var o,r,a=this.createBookmark(),s=a.end,l=domUtils.getNextDomNode(a.start,!1,n),d=this.cloneRange();l&&domUtils.getPosition(l,s)&domUtils.POSITION_PRECEDING;)if(3==l.nodeType||dtd[t][l.tagName]){for(d.setStartBefore(l),o=l;o&&(3==o.nodeType||dtd[t][o.tagName])&&o!==s;)r=o,o=domUtils.getNextDomNode(o,1==o.nodeType,null,function(e){return dtd[t][e.tagName]});var c,u,m=d.setEndAfter(r).extractContents();if(i&&0'+(ie?"":"
")+"
",e.removeListener("firstBeforeExecCommand focus",Np),setTimeout(function(){e.focus(),e._selectionChange()},0))}Editor.prototype={registerCommand:function(e,t){this.commands[e]=t},ready:function(e){e&&(this.isReady?e.apply(this):this.addListener("ready",e))},setOpt:function(e,t){var i={};utils.isString(e)?i[e]=t:i=e,utils.extend(this.options,i,!0)},getOpt:function(e){return this.options[e]},destroy:function(){var e=this;e.fireEvent("destroy");var t=e.container.parentNode,i=e.textarea;i?i.style.display="":(i=document.createElement("textarea"),t.parentNode.insertBefore(i,t)),i.style.width=e.iframe.offsetWidth+"px",i.style.height=e.iframe.offsetHeight+"px",i.value=e.getContent(),i.id=e.key,t.innerHTML="",domUtils.remove(t);var n=e.key;for(var o in e)e.hasOwnProperty(o)&&delete this[o];UE.delEditor(n)},render:function(t){function e(e){return parseInt(domUtils.getComputedStyle(t,e))}var i=this.options;if(utils.isString(t)&&(t=document.getElementById(t)),t){i.initialFrameWidth?i.minFrameWidth=i.initialFrameWidth:i.minFrameWidth=i.initialFrameWidth=t.offsetWidth,i.initialFrameHeight?i.minFrameHeight=i.initialFrameHeight:i.initialFrameHeight=i.minFrameHeight=t.offsetHeight,t.style.width=/%$/.test(i.initialFrameWidth)?"100%":i.initialFrameWidth-e("padding-left")-e("padding-right")+"px",t.style.height=/%$/.test(i.initialFrameHeight)?"100%":i.initialFrameHeight-e("padding-top")-e("padding-bottom")+"px",t.style.zIndex=i.zIndex;var n=(ie&&browser.version<9?"":"")+""+(i.iframeCssUrl?"":"")+(i.initialStyle?"":"")+"