|
|
@@ -151,11 +151,11 @@ function handleSubmit() {
|
|
|
onLoad((option) => {
|
|
|
// 通过分享传参
|
|
|
type.value = option.type || "add"
|
|
|
- if (type.value == 'add' && option.hostname && option.asname) {
|
|
|
- formData.value.hostname = option.hostname
|
|
|
- formData.value.asname = option.asname
|
|
|
+ if (type.value == 'add' && option.scene) {
|
|
|
+ formData.value.hostname = option.scene
|
|
|
+ formData.value.asname = option.scene
|
|
|
message.confirm({
|
|
|
- msg: `是否添加设备"${option.asname}"到我的打印助手`,
|
|
|
+ msg: `是否添加设备"${option.scene}"到我的打印助手`,
|
|
|
closeOnClickModal: false,
|
|
|
}).then(() => {
|
|
|
handleSubmit()
|
|
|
@@ -176,4 +176,7 @@ onLoad((option) => {
|
|
|
:deep(.wd-cell__value) {
|
|
|
text-align: left !important;
|
|
|
}
|
|
|
+:deep(.wd-message-box__content) {
|
|
|
+ word-break: break-all;
|
|
|
+}
|
|
|
</style>
|